SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#version 110
|
||||
#version 400
|
||||
|
||||
uniform sampler2D texSampler2D;
|
||||
uniform sampler3D texSampler3D;
|
||||
@@ -7,16 +7,16 @@ uniform float blend;
|
||||
uniform vec2 scale;
|
||||
uniform vec4 u;
|
||||
|
||||
varying vec2 t;
|
||||
varying vec3 coords;
|
||||
in vec2 t;
|
||||
in vec3 coords;
|
||||
|
||||
void main()
|
||||
{
|
||||
float blendscale = 1.789;
|
||||
|
||||
vec4 v = texture2D(texSampler2D, (t + scale) / scale ).wzyx;
|
||||
vec4 v = texture(texSampler2D, (t + scale) / scale ).wzyx;
|
||||
|
||||
vec4 w = texture3D(texSampler3D, coords) + v;
|
||||
vec4 w = texture(texSampler3D, coords) + v;
|
||||
|
||||
gl_FragColor = mix(w, u, blend * blendscale);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user