port from perforce

This commit is contained in:
2026-04-18 22:31:51 +02:00
commit 8d0ab5b7cc
8409 changed files with 3972376 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
uniform float minDist;
uniform float maxDist;
uniform float minSize;
uniform float maxSize;
void main()
{
gl_TexCoord[0] = gl_MultiTexCoord0;
vec4 pos = ftransform();
gl_Position = pos;
float f = (pos.z - minDist) / (maxDist - minDist);
gl_FrontColor = gl_Color * vec4(vec3(1), f);
gl_PointSize = minSize + maxSize * f;
}