Please create proper 2D lights like Unity

Please create proper 2D lights like Unity.

2 Likes

Lighting must interact with shaders, which means the lack of implementation lies within builtin shaders, more than it lies with a hypothetical component. In truth, a “proper light” is little more than a set of shader parameters.

2 Likes

We have plans for a better integrated lighting system, but no eta for this I’m afraid.,

4 Likes

Please tell me how to create 2d lights in defold

2 Likes

Also default 3D template has a single light source.

4 Likes

And more examples :slightly_smiling_face:

https://github.com/astrochili/awesome-defold?tab=readme-ov-file#render-shaders

2 Likes

A simple lighting system would really be a great feature to have.

I have looked at all the examples and of course you can use the render pipelines/shaders/… but it is not very easy (imho).

A simple light system where you could create lights (spot, directed, ambient, …) would certainly do defold good and help to close the gap to other game engines.

2 Likes

I tried using lighting and it seemed as complicated as quantum physics.

1 Like