13 lines
		
	
	
	
		
			346 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			346 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #version 150
 | |
| 
 | |
| #moj_import <minecraft:fog.glsl>
 | |
| #moj_import <minecraft:dynamictransforms.glsl>
 | |
| 
 | |
| in float sphericalVertexDistance;
 | |
| in float cylindricalVertexDistance;
 | |
| 
 | |
| out vec4 fragColor;
 | |
| 
 | |
| void main() {
 | |
|     fragColor = apply_fog(ColorModulator, sphericalVertexDistance, cylindricalVertexDistance, 0.0, FogSkyEnd, FogSkyEnd, FogSkyEnd, FogColor);
 | |
| }
 |