mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2024-12-23 01:59:39 +08:00
f82426c609
it has begun
20 lines
624 B
GLSL
20 lines
624 B
GLSL
#version 120
|
|
#extension GL_EXT_gpu_shader4 : enable
|
|
|
|
varying vec2 texcoord;
|
|
flat varying vec3 zMults;
|
|
uniform float far;
|
|
uniform float near;
|
|
//////////////////////////////VOID MAIN//////////////////////////////
|
|
//////////////////////////////VOID MAIN//////////////////////////////
|
|
//////////////////////////////VOID MAIN//////////////////////////////
|
|
//////////////////////////////VOID MAIN//////////////////////////////
|
|
//////////////////////////////VOID MAIN//////////////////////////////
|
|
|
|
void main() {
|
|
zMults = vec3(1.0/(far * near),far+near,far-near);
|
|
gl_Position = ftransform();
|
|
texcoord = gl_MultiTexCoord0.xy;
|
|
|
|
}
|