diff --git a/Effects/bowwave.eff b/Effects/bowwave.eff index 7af277295..e6abff1b1 100644 --- a/Effects/bowwave.eff +++ b/Effects/bowwave.eff @@ -202,6 +202,10 @@ texture[0]/internal-format + + 1 + noise + 2 @@ -310,10 +314,7 @@ texture[7]/internal-format - - 9 - noise - + Shaders/include_fog.vert Shaders/wake.vert @@ -442,7 +443,7 @@ Noise sampler-3d - 9 + 1 diff --git a/Effects/flutter.eff b/Effects/flutter.eff index 138d8ba4e..d4ca7b0cb 100644 --- a/Effects/flutter.eff +++ b/Effects/flutter.eff @@ -137,7 +137,7 @@ --> - 9 + 1 noise @@ -185,7 +185,7 @@ Noise sampler-3d - 9 + 1 WindE diff --git a/Effects/model-combined.eff b/Effects/model-combined.eff index b92260926..19b761da8 100644 --- a/Effects/model-combined.eff +++ b/Effects/model-combined.eff @@ -244,6 +244,11 @@ please see Docs/README.model-combined.eff for documentation texture[0]/internal-format + + + 1 + noise + 2 @@ -354,11 +359,7 @@ please see Docs/README.model-combined.eff for documentation texture[7]/internal-format - - - 9 - noise - + vertex-program-two-side @@ -385,6 +386,12 @@ please see Docs/README.model-combined.eff for documentation 0 + + ReflNoiseTex + sampler-3d + 1 + + NormalTex sampler-2d @@ -421,11 +428,7 @@ please see Docs/README.model-combined.eff for documentation 7 - - ReflNoiseTex - sampler-3d - 9 - + diff --git a/Effects/reflect-bump-spec.eff b/Effects/reflect-bump-spec.eff index 706a20730..be80df370 100644 --- a/Effects/reflect-bump-spec.eff +++ b/Effects/reflect-bump-spec.eff @@ -215,6 +215,30 @@ EXAMPLES: You can find examples of both usages in the Hunter and Lightning model texture[0]/internal-format + + + 1 + + texture[8]/image + + + texture[8]/filter + + + texture[8]/wrap-s + + + texture[8]/wrap-t + + + texture[0]/internal-format + + + + + 2 + noise + 4 @@ -288,30 +312,6 @@ EXAMPLES: You can find examples of both usages in the Hunter and Lightning model - - 8 - - texture[8]/image - - - texture[8]/filter - - - texture[8]/wrap-s - - - texture[8]/wrap-t - - - texture[0]/internal-format - - - - - 9 - noise - - Shaders/include_fog.vert @@ -334,6 +334,18 @@ EXAMPLES: You can find examples of both usages in the Hunter and Lightning model 0 + + Map + sampler-2d + 1 + + + + Noise + sampler-3d + 2 + + NormalTex sampler-2d @@ -358,18 +370,6 @@ EXAMPLES: You can find examples of both usages in the Hunter and Lightning model 7 - - Map - sampler-2d - 8 - - - - Noise - sampler-3d - 9 - - rainbowiness diff --git a/Effects/reflect.eff b/Effects/reflect.eff index 3ad47b33f..108580dcf 100644 --- a/Effects/reflect.eff +++ b/Effects/reflect.eff @@ -195,6 +195,25 @@ + + 1 + + texture[8]/image + + + texture[8]/filter + + + texture[8]/wrap-s + + + texture[8]/wrap-t + + + texture[8]/internal-format + + + 2 @@ -207,7 +226,12 @@ repeat repeat - + + + 3 + noise + + 5 @@ -263,31 +287,6 @@ - - 8 - - texture[8]/image - - - texture[8]/filter - - - texture[8]/wrap-s - - - texture[8]/wrap-t - - - texture[8]/internal-format - - - - - 9 - noise - - - Shaders/include_fog.vert Shaders/reflect.vert @@ -313,12 +312,24 @@ 0 + + Map + sampler-2d + 1 + + Lightmap sampler-2d 2 + + Noise + sampler-3d + 3 + + Environment sampler-cube @@ -336,20 +347,6 @@ sampler-2d 7 - - - Map - sampler-2d - 8 - - - - Noise - sampler-3d - 9 - - - rainbowiness diff --git a/Effects/runway.eff b/Effects/runway.eff index 8433eb4ab..8e9109f3c 100644 --- a/Effects/runway.eff +++ b/Effects/runway.eff @@ -123,6 +123,31 @@ texture[1]/internal-format + + + 1 + + texture[8]/image + + + texture[8]/filter + + + texture[8]/wrap-s + + + texture[8]/wrap-t + + + texture[0]/internal-format + + + + + 2 + noise + + 4 @@ -197,29 +222,6 @@ - - 8 - - texture[8]/image - - - texture[8]/filter - - - texture[8]/wrap-s - - - texture[8]/wrap-t - - - texture[0]/internal-format - - - - - 9 - noise - vertex-program-two-side @@ -248,6 +250,18 @@ 0 + + Map + sampler-2d + 1 + + + + Noise + sampler-3d + 2 + + NormalTex sampler-2d @@ -272,18 +286,6 @@ 7 - - Map - sampler-2d - 8 - - - - Noise - sampler-3d - 9 - - rainbowiness diff --git a/Effects/water.eff b/Effects/water.eff index d58e282e9..607027dd2 100644 --- a/Effects/water.eff +++ b/Effects/water.eff @@ -199,6 +199,7 @@ texture[0]/internal-format + 2 @@ -289,10 +290,7 @@ texture[6]/internal-format - - 9 - noise - + Shaders/include_fog.vert Shaders/water.vert @@ -304,6 +302,7 @@ sampler-2d 0 + water_normalmap sampler-2d @@ -449,11 +448,7 @@ - - Noise - sampler-3d - 9 - + @@ -661,10 +656,7 @@ texture[6]/internal-format - - 9 - noise - + Shaders/include_fog.vert Shaders/water.vert @@ -823,11 +815,6 @@ - - Noise - sampler-3d - 9 - visibility diff --git a/Shaders/water.frag b/Shaders/water.frag index 49c536c33..f640f6958 100644 --- a/Shaders/water.frag +++ b/Shaders/water.frag @@ -14,8 +14,6 @@ uniform sampler2D water_reflection_grey; uniform sampler2D sea_foam; uniform sampler2D perlin_normalmap; -uniform sampler3D Noise; - uniform float saturation, Overcast, WindE, WindN; uniform float CloudCover0, CloudCover1, CloudCover2, CloudCover3, CloudCover4; uniform float osg_SimulationTime;