summaryrefslogtreecommitdiffstats
path: root/Studio/Content/Material Library/thin_glass_frosted_sp.shader
diff options
context:
space:
mode:
Diffstat (limited to 'Studio/Content/Material Library/thin_glass_frosted_sp.shader')
-rw-r--r--Studio/Content/Material Library/thin_glass_frosted_sp.shader8
1 files changed, 4 insertions, 4 deletions
diff --git a/Studio/Content/Material Library/thin_glass_frosted_sp.shader b/Studio/Content/Material Library/thin_glass_frosted_sp.shader
index 38dbac2..8e4547a 100644
--- a/Studio/Content/Material Library/thin_glass_frosted_sp.shader
+++ b/Studio/Content/Material Library/thin_glass_frosted_sp.shader
@@ -190,10 +190,10 @@ vec3 computeNormal()
void computeTemporaries()
{
- tmp0 = transformCoordinate( rotationTranslationScale( vec3( 0.000000, 0.000000, 0.000000 ), vec3( 0.000000, 0.000000, 0.000000 ), noiseCoords ), coordinateSource(texture_coordinate_world, 0 ) );
- tmp1 = transformCoordinate( rotationTranslationScale( vec3( 0.000000, 0.000000, 0.000000 ), vec3( 0.000000, 0.000000, 0.000000 ), bumpCoords ), coordinateSource(texture_coordinate_world, 0 ) );
- ftmp0 = vec3( reflectivity_amount );
- tmpShadowTerm = evalBakedShadowMap( texCoord0 );
+ tmp0 = scaleCoordinate(noiseCoords, coordinateSource(texture_coordinate_world, 0 ) );
+ tmp1 = scaleCoordinate(bumpCoords, coordinateSource(texture_coordinate_world, 0 ) );
+ ftmp0 = vec3( reflectivity_amount );
+ tmpShadowTerm = evalBakedShadowMap( texCoord0 );
}
vec4 computeLayerWeights( in float alpha )