Test
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#version 120
|
||||
|
||||
#include "common.glsl"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
varying vec4 color;
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 position = gl_ModelViewMatrix * gl_Vertex;
|
||||
|
||||
|
||||
position = gbufferModelViewInverse * position;
|
||||
|
||||
position = geomfunc(position);
|
||||
|
||||
position = gbufferModelView * position;
|
||||
|
||||
gl_Position = gl_ProjectionMatrix * position;
|
||||
|
||||
|
||||
gl_FogFragCoord = sqrt(position.x * position.x + position.y * position.y + position.z * position.z);
|
||||
|
||||
|
||||
color = gl_Color;
|
||||
}
|
||||
Reference in New Issue
Block a user