mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-03 17:39:36 +01:00
Use blending for now with vertex lights in Layered Tile Maps.
This commit is contained in:
parent
af243a1111
commit
b353267679
@ -376,8 +376,11 @@ void LayeredTileMapLayer::_rendering_update() {
|
||||
|
||||
#ifdef MODULE_VERTEX_LIGHTS_2D_ENABLED
|
||||
if (_use_vertex_lights) {
|
||||
//self_modulate = self_modulate.blend(cell_data.vertex_light_color);
|
||||
self_modulate = cell_data.vertex_light_color;
|
||||
self_modulate = self_modulate.blend(cell_data.vertex_light_color);
|
||||
//self_modulate = self_modulate.clamp();
|
||||
//self_modulate = cell_data.vertex_light_color;
|
||||
//self_modulate += cell_data.vertex_light_color;
|
||||
//self_modulate = self_modulate.clamp();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user