X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fvblend.fs;h=a30f83c9ee29f12d5020f206c92b649c6da1821d;hb=d57b7661518800479c00300ce57407378696eec9;hp=023721e7264829bad890d59fb821e003029efa97;hpb=6d66c67945f84476d6ac75a0497007cc30bcf58c;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/vblend.fs b/shaders/vblend.fs index 023721e..a30f83c 100644 --- a/shaders/vblend.fs +++ b/shaders/vblend.fs @@ -3,7 +3,6 @@ out vec4 FragColor; uniform sampler2D uTexGarbage; uniform sampler2D uTexGradients; uniform vec3 uCamera; -uniform vec4 uPlane; in vec4 aColour; in vec2 aUv; @@ -18,7 +17,7 @@ void main() vec3 vfrag = vec3(0.5,0.5,0.5); // ws modulation - vec4 wgarbage = texture( uTexGarbage, aCo.xz * 0.160 ); + vec4 wgarbage = vec4(0.5,0.5,0.5,1.0);//texture( uTexGarbage, aCo.xz * 0.160 ); // Creating normal patches vec3 modnorm = (wgarbage.rgb-0.4) * 1.4;