Skip to content

Commit a5e76dd

Browse files
committed
remove uvCoords function as vTexCoord is not always defined in a given shader
1 parent d4f6cef commit a5e76dd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/webgl/ShaderGenerator.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -715,10 +715,6 @@ function shadergenerator(p5, fn) {
715715
return new VariableNode('gl_InstanceID', 'int');
716716
}
717717

718-
fn.uvCoords = function() {
719-
return new VariableNode('vTexCoord', 'vec2');
720-
}
721-
722718
fn.discard = function() {
723719
return new VariableNode('discard', 'keyword');
724720
}

0 commit comments

Comments
 (0)