Removed a useless line of code in Parallax.glsllib

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10935 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
experimental
rem..om 11 years ago
parent 8ff0cd386a
commit d6f3b4a5bc
  1. 1
      engine/src/core-data/Common/ShaderLib/Parallax.glsllib

@ -61,7 +61,6 @@
vec2 classicParallaxOffset(sampler2D parallaxMap, vec3 vViewDir,vec2 texCoord,float parallaxScale){ vec2 classicParallaxOffset(sampler2D parallaxMap, vec3 vViewDir,vec2 texCoord,float parallaxScale){
float h; float h;
h = texture2D(parallaxMap, texCoord).a;
#ifdef NORMALMAP_PARALLAX #ifdef NORMALMAP_PARALLAX
//parallax map is stored in the alpha channel of the normal map //parallax map is stored in the alpha channel of the normal map
h = texture2D(parallaxMap, texCoord).a; h = texture2D(parallaxMap, texCoord).a;

Loading…
Cancel
Save