mirror of
https://github.com/SangeloDev/SangeFault.git
synced 2024-11-10 07:32:43 +00:00
a50683c84e
basically starting over... this is gonna be fun!
16 lines
288 B
GLSL
16 lines
288 B
GLSL
#version 150
|
|
|
|
#moj_import <fog.glsl>
|
|
|
|
uniform vec4 ColorModulator;
|
|
uniform float FogStart;
|
|
uniform float FogEnd;
|
|
uniform vec4 FogColor;
|
|
|
|
in float vertexDistance;
|
|
|
|
out vec4 fragColor;
|
|
|
|
void main() {
|
|
fragColor = linear_fog(ColorModulator, vertexDistance, FogStart, FogEnd, FogColor);
|
|
}
|