Skip to content

Commit

Permalink
WebGLNodeBuilder: .getFrontFacing() (#23982)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunag authored and mrdoob committed May 6, 2022
1 parent 1238a32 commit 52bdd66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,12 @@ class WebGLNodeBuilder extends NodeBuilder {

}

getFrontFacing() {

return 'gl_FrontFacing';

}

buildCode() {

const shaderData = {};
Expand Down

0 comments on commit 52bdd66

Please sign in to comment.