forked from Mirrorlandia_minetest/irrlicht
23 lines
368 B
V Shell
23 lines
368 B
V Shell
|
/* Attributes */
|
||
|
|
||
|
attribute vec4 inVertexPosition;
|
||
|
attribute vec4 inVertexColor;
|
||
|
attribute vec2 inTexCoord0;
|
||
|
|
||
|
/* Uniforms */
|
||
|
|
||
|
uniform float uThickness;
|
||
|
|
||
|
/* Varyings */
|
||
|
|
||
|
varying vec2 vTextureCoord;
|
||
|
varying vec4 vVertexColor;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
gl_Position = inVertexPosition;
|
||
|
gl_PointSize = uThickness;
|
||
|
vTextureCoord = inTexCoord0;
|
||
|
vVertexColor = inVertexColor.bgra;
|
||
|
}
|