Add IPostProcessWorldShader for custom effect render passes.
This commit is contained in:
12
glsl/postprocess.vert
Normal file
12
glsl/postprocess.vert
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user