mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 14:37:46 +02:00
More typos in glsl
This commit is contained in:
parent
6a63099a0f
commit
1f10a44ae4
3 changed files with 4 additions and 4 deletions
|
@ -38,8 +38,8 @@ void main(void) {
|
||||||
gl_FrontColor = gl_Color * gl_FrontMaterial.diffuse;
|
gl_FrontColor = gl_Color * gl_FrontMaterial.diffuse;
|
||||||
|
|
||||||
// and the texture coordinates
|
// and the texture coordinates
|
||||||
gl_TexCoord[0] = texcoordMatrices[0] * vec4(gl_MultiTexCoord0.xy, 0.f, 1.f);
|
gl_TexCoord[0] = texcoordMatrices[0] * vec4(gl_MultiTexCoord0.xy, 0.0, 1.0);
|
||||||
interpolatedTexcoord1 = vec2(texcoordMatrices[1] * vec4(texcoord1.xy, 0.f, 1.f)).xy;
|
interpolatedTexcoord1 = vec2(texcoordMatrices[1] * vec4(texcoord1.xy, 0.0, 1.0)).xy;
|
||||||
|
|
||||||
// use standard pipeline transform
|
// use standard pipeline transform
|
||||||
gl_Position = ftransform();
|
gl_Position = ftransform();
|
||||||
|
|
|
@ -40,7 +40,7 @@ void main(void) {
|
||||||
gl_FrontColor = gl_FrontMaterial.diffuse;
|
gl_FrontColor = gl_FrontMaterial.diffuse;
|
||||||
|
|
||||||
// and the texture coordinates
|
// and the texture coordinates
|
||||||
gl_TexCoord[0] = texcoordMatrices[0] * vec4(gl_MultiTexCoord0.xy, 0.f, 1.f);
|
gl_TexCoord[0] = texcoordMatrices[0] * vec4(gl_MultiTexCoord0.xy, 0.0, 1.0);
|
||||||
|
|
||||||
gl_Position = gl_ModelViewProjectionMatrix * position;
|
gl_Position = gl_ModelViewProjectionMatrix * position;
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,7 @@ void main(void) {
|
||||||
gl_FrontColor = gl_FrontMaterial.diffuse;
|
gl_FrontColor = gl_FrontMaterial.diffuse;
|
||||||
|
|
||||||
// and the texture coordinates
|
// and the texture coordinates
|
||||||
gl_TexCoord[0] = texcoordMatrices[0] * vec4(gl_MultiTexCoord0.xy, 0.f, 1.f);
|
gl_TexCoord[0] = texcoordMatrices[0] * vec4(gl_MultiTexCoord0.xy, 0.0, 1.0);
|
||||||
|
|
||||||
gl_Position = gl_ModelViewProjectionMatrix * interpolatedPosition;
|
gl_Position = gl_ModelViewProjectionMatrix * interpolatedPosition;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue