Skip to content

Commit

Permalink
removing more ShaderChunk code
Browse files Browse the repository at this point in the history
  • Loading branch information
stemkoski committed Mar 29, 2022
1 parent 32444a4 commit ba03507
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions shader-chunk-phong.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@

vertexShader:
`
#define PHONG
varying vec3 vViewPosition;
${THREE.ShaderChunk["common"]}
#define USE_UV
${THREE.ShaderChunk["uv_pars_vertex"]}
Expand All @@ -66,7 +66,6 @@

fragmentShader: `
#define PHONG
uniform vec3 diffuse;
uniform vec3 emissive;
uniform vec3 specular;
Expand Down Expand Up @@ -96,7 +95,6 @@
vec4 diffuseColor = vec4( diffuse, opacity );
ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );
vec3 totalEmissiveRadiance = emissive;
${THREE.ShaderChunk["logdepthbuf_fragment"]}
${THREE.ShaderChunk["map_fragment"]}
${THREE.ShaderChunk["color_fragment"]}
${THREE.ShaderChunk["specularmap_fragment"]}
Expand Down

0 comments on commit ba03507

Please sign in to comment.