Fix grass in azdo mode
This commit is contained in:
parent
5b2d334b8c
commit
ea3cc141ff
@ -11,6 +11,7 @@ layout(location = 8) in vec3 Orientation;
|
|||||||
layout(location = 9) in vec3 Scale;
|
layout(location = 9) in vec3 Scale;
|
||||||
#ifdef GL_ARB_bindless_texture
|
#ifdef GL_ARB_bindless_texture
|
||||||
layout(location = 10) in sampler2D Handle;
|
layout(location = 10) in sampler2D Handle;
|
||||||
|
layout(location = 11) in sampler2D SecondHandle;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
@ -28,6 +29,7 @@ out vec3 nor;
|
|||||||
out vec2 uv;
|
out vec2 uv;
|
||||||
#ifdef GL_ARB_bindless_texture
|
#ifdef GL_ARB_bindless_texture
|
||||||
flat out sampler2D handle;
|
flat out sampler2D handle;
|
||||||
|
flat out sampler2D secondhandle;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mat4 getWorldMatrix(vec3 translation, vec3 rotation, vec3 scale);
|
mat4 getWorldMatrix(vec3 translation, vec3 rotation, vec3 scale);
|
||||||
@ -42,5 +44,6 @@ void main()
|
|||||||
uv = Texcoord;
|
uv = Texcoord;
|
||||||
#ifdef GL_ARB_bindless_texture
|
#ifdef GL_ARB_bindless_texture
|
||||||
handle = Handle;
|
handle = Handle;
|
||||||
|
secondhandle = SecondHandle;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user