1
0
Fork 0

HDR: WS 3.0 doesn't need a separate orthophoto texcoord

This commit is contained in:
Fernando García Liñán 2024-02-10 00:12:59 +01:00
parent b00a1f2767
commit 27618cd36d
2 changed files with 0 additions and 4 deletions

View file

@ -3,7 +3,6 @@
in VS_OUT {
float flogz;
vec2 texcoord;
vec2 orthophoto_texcoord;
vec3 vertex_normal;
} fs_in;

View file

@ -3,12 +3,10 @@
layout(location = 0) in vec4 pos;
layout(location = 1) in vec3 normal;
layout(location = 3) in vec4 multitexcoord0;
layout(location = 5) in vec4 multitexcoord2;
out VS_OUT {
float flogz;
vec2 texcoord;
vec2 orthophoto_texcoord;
vec3 vertex_normal;
} vs_out;
@ -23,6 +21,5 @@ void main()
gl_Position = osg_ModelViewProjectionMatrix * pos;
vs_out.flogz = logdepth_prepare_vs_depth(gl_Position.w);
vs_out.texcoord = multitexcoord0.st;
vs_out.orthophoto_texcoord = multitexcoord2.st;
vs_out.vertex_normal = osg_NormalMatrix * normal;
}