improve lighting - grass shader

This commit is contained in:
Matteo Sonaglioni
2026-03-18 15:23:50 +01:00
parent 89a08abfb9
commit d86a9bfb10
18 changed files with 419 additions and 96 deletions

View File

@@ -95,6 +95,7 @@ void vertex() {
}
void fragment() {
vec2 shifted_uv = UV + texture_offset;
vec4 tex = texture(alpha_texture, shifted_uv);