You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Implement per-light Specular property in DirectionalLight3D
This commit is contained in:
committed by
Hugo Locurcio
parent
08508d2e01
commit
e42def12d0
@@ -2351,7 +2351,7 @@ void fragment_shader(in SceneData scene_data) {
|
||||
#else
|
||||
directional_lights.data[i].color * directional_lights.data[i].energy * tint,
|
||||
#endif
|
||||
true, shadow, f0, orms, 1.0, albedo, alpha, screen_uv,
|
||||
true, shadow, f0, orms, directional_lights.data[i].specular, albedo, alpha, screen_uv,
|
||||
#ifdef LIGHT_BACKLIGHT_USED
|
||||
backlight,
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user