Adjust scale of noise UV for terrain shading
This commit is contained in:
		
							parent
							
								
									81abb0d8d9
								
							
						
					
					
						commit
						73de050628
					
				| @ -24,7 +24,7 @@ uniform sampler2D TERRAIN_MAP : hint_default_transparent, repeat_disable; | ||||
| 
 | ||||
| void fragment() { | ||||
| 	vec2 uv = UV * (SIZE / 2.0); | ||||
| 	vec2 uv_alt = uv * -0.25; | ||||
| 	vec2 uv_alt = uv * -0.5; | ||||
| 	vec3 splat_map = texture(TERRAIN_MAP, UV).rgb; | ||||
| 	float blank = clamp(1.0 - splat_map.r - splat_map.g - splat_map.b, 0.0, 1.0); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user