mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-11 12:50:36 +01:00
28d0e0644c
Currently, they are identical to OGLES2 shaders, except of version specification.
25 lines
382 B
GLSL
25 lines
382 B
GLSL
#version 100
|
|
|
|
/* 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;
|
|
}
|