Skip to content

Commit

Permalink
Merge pull request #19623 from sciecode/dev-cubeuv-refraction
Browse files Browse the repository at this point in the history
WebGLProgram: support cube uv refraction mapping
mrdoob authored Jul 2, 2020
2 parents 07f9a12 + 22990df commit 6343f3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/renderers/webgl/WebGLProgram.js
Original file line number Diff line number Diff line change
@@ -344,6 +344,8 @@ function generateEnvMapModeDefine( parameters ) {

case CubeRefractionMapping:
case EquirectangularRefractionMapping:
case CubeUVRefractionMapping:

envMapModeDefine = 'ENVMAP_MODE_REFRACTION';
break;

0 comments on commit 6343f3a

Please sign in to comment.