small fix for float

celladd
sylar 10 years ago
parent cef725012c
commit edd3f9f95c

@ -384,7 +384,7 @@
float4 normalTex = shSample(normalMap, UV.xy); float4 normalTex = shSample(normalMap, UV.xy);
normal = normalize (shMatrixMult( transpose(tbn), normalTex.xyz * 2.0 - float (1.0,1.0,1.0) )); normal = normalize (shMatrixMult( transpose(tbn), normalTex.xyz * 2.0 - float3 (1.0,1.0,1.0) ));
#endif #endif
#if ENV_MAP || SPECULAR || PARALLAX #if ENV_MAP || SPECULAR || PARALLAX

Loading…
Cancel
Save