Skip to content

Commit

Permalink
Update material.js
Browse files Browse the repository at this point in the history
  • Loading branch information
deveshidwivedi authored Oct 28, 2023
1 parent 112496d commit 8c8ec91
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/webgl/material.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ p5.prototype.loadShader = function(
* @example
* <div modernizr='webgl'>
* <code>
* // the 'varying's are shared between both vertex & fragment shaders
* let varying = 'precision highp float; varying vec2 vPos;';
*
* // the vertex shader is called for each vertex
* let vs = `
Expand All @@ -157,6 +155,7 @@ p5.prototype.loadShader = function(
* uniform vec2 p;
* uniform float r;
* const int I = 500;
* varying vec2 vTexCoord;
* void main() {
* vec2 c = p + gl_FragCoord.xy * r, z = c;
* float n = 0.0;
Expand Down

0 comments on commit 8c8ec91

Please sign in to comment.