mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Unbork normals
This commit is contained in:
parent
2d7aa1aaa3
commit
63c8ea58b9
@ -44,7 +44,7 @@ void main() {
|
||||
#endif
|
||||
|
||||
// Hacky, very bad, 50 is ~ tree height
|
||||
f_norm = mix(v_norm, vec3(0, 0, 1), clamp(model_pos.z / 50, 0, 1));
|
||||
f_norm = v_norm;//mix(v_norm, vec3(0, 0, 1), clamp(model_pos.z / 50, 0, 1));
|
||||
f_col = vec4(vec3(0.02, 0.1, 0.01) * (sin(inst_pos.xyy) * 0.33 + 0.66), 1.0);//vec4(v_col, 1.0);
|
||||
|
||||
if ((inst_flags & FLAG_SNOW_COVERED) > 0u) {
|
||||
|
Loading…
Reference in New Issue
Block a user