REVIEWED: example: shaders_deferred_render -WIP-

Not working but shader compiles and example runs... not sure if deferred rendering could be supported in OpenGL ES 2.0.
This commit is contained in:
Ray 2025-01-16 19:48:31 +01:00
commit 7c7b087efb

View file

@ -0,0 +1,16 @@
#version 100
// Input vertex attributes
attribute vec3 vertexPosition;
attribute vec2 vertexTexCoord;
// Output vertex attributes (to fragment shader)
varying vec2 fragTexCoord;
void main()
{
fragTexCoord = vertexTexCoord;
// Calculate final vertex position
gl_Position = vec4(vertexPosition, 1.0);
}