mirror of
https://github.com/SangeloDev/SangeFault.git
synced 2024-11-13 00:52:43 +00:00
17 lines
288 B
Text
17 lines
288 B
Text
|
#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);
|
||
|
}
|