#5808 - Include and use .glsl in source (rend2)
This commit is contained in:
parent
6b811ada7a
commit
edb414b34a
30 changed files with 2058 additions and 999 deletions
13
code/rend2/glsl/bokeh_vp.glsl
Normal file
13
code/rend2/glsl/bokeh_vp.glsl
Normal file
|
@ -0,0 +1,13 @@
|
|||
attribute vec4 attr_Position;
|
||||
attribute vec4 attr_TexCoord0;
|
||||
|
||||
uniform mat4 u_ModelViewProjectionMatrix;
|
||||
|
||||
varying vec2 var_TexCoords;
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = u_ModelViewProjectionMatrix * attr_Position;
|
||||
var_TexCoords = attr_TexCoord0.st;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue