mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
disabled temporarily point light
This commit is contained in:
parent
8a6ed86b2e
commit
8d04b9297e
@ -14,10 +14,6 @@ uniform u_locals {
|
||||
|
||||
out vec4 tgt_color;
|
||||
|
||||
vec3 point_light() {
|
||||
return vec3(1.0, 0.9, 0.4) * 3.0 / pow(length(f_pos - focus_pos.xyz), 2.0);
|
||||
}
|
||||
|
||||
void main() {
|
||||
float glob_ambience = 0.001;
|
||||
|
||||
@ -30,7 +26,7 @@ void main() {
|
||||
|
||||
float static_light = glob_ambience + min(sun_light, f_light);
|
||||
|
||||
vec3 light = point_light() + static_light;
|
||||
vec3 light = static_light;
|
||||
|
||||
tgt_color = vec4(f_col * light, 1.0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user