Improves scene lighting and tree collision
Moves light direction to global shader parameter, enabling dynamic light updates. Adjusts tree collision shape for better player interaction. Updates default season to summer.
This commit is contained in:
parent
f98773237e
commit
a4f409f877
7 changed files with 28 additions and 16 deletions
|
|
@ -2,7 +2,7 @@ shader_type spatial;
|
|||
render_mode cull_front, unshaded;
|
||||
|
||||
uniform vec3 color : source_color = vec3(0,0,0);
|
||||
uniform float thickness : hint_range(0.0, 1.0, 0.01) = 0.03;
|
||||
uniform float thickness : hint_range(0.0, 1.0, 0.01) = 0.01;
|
||||
|
||||
void vertex() {
|
||||
VERTEX += thickness*NORMAL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue