Add IPostProcessWorldShader for custom effect render passes.

This commit is contained in:
Paul Chote
2023-10-22 16:58:58 +01:00
committed by Gustas
parent b1f5367822
commit 47af7a9023
10 changed files with 174 additions and 2 deletions

12
glsl/postprocess.vert Normal file
View File

@@ -0,0 +1,12 @@
#version {VERSION}
#if __VERSION__ == 120
attribute vec2 aVertexPosition;
#else
in vec2 aVertexPosition;
#endif
void main()
{
gl_Position = vec4(aVertexPosition, 0, 1);
}