Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

[Request] 2D Ilumination (Color Lights + Shadows + Normals) #462

Closed
Hevedy opened this issue Sep 19, 2014 · 3 comments
Closed

[Request] 2D Ilumination (Color Lights + Shadows + Normals) #462

Hevedy opened this issue Sep 19, 2014 · 3 comments
Labels

Comments

@Hevedy
Copy link

Hevedy commented Sep 19, 2014

I see nice changes in the 2D side of the engine and i like add ideas to this:

  • Add option to use lights.
  • Add color lights and color blend, and collision with object
  • Add shadows, select if collide with the light and the value of shadow.
  • Add penumbra and dark zones.
  • Add normal map for detail the light in the sprites
  • 2D Examples shaders & light.

Sources:
http://robotloveskitty.tumblr.com/post/33164532086/legend-of-dungeon-dynamic-lighting-on-sprites
http://www.gamedev.net/page/resources/_/technical/graphics-programming-and-theory/dynamic-2d-soft-shadows-r2032

@Hevedy Hevedy changed the title [Idea] 2D Ilumination (Color Lights + Shadows + Normals) [Request] 2D Ilumination (Color Lights + Shadows + Normals) Sep 19, 2014
@MonkeyFirst
Copy link
Contributor

Today I trying understood with Urho2D made a simple sketch. With multiple sprites.
I tried to add light to the scene and was very surprised that the lights has no effect on sprites.
I think this feature is very necessary to 2D-renderer that we could make the effects of shading with normal map for sprites.
As in this video : http://www.youtube.com/watch?v=Yuwbj4Nvu_o
or this video:
http://www.youtube.com/watch?v=W0H4vza9knM

I would not want to use a 3D renderer to get these 2D effects

@cjmxp
Copy link

cjmxp commented Dec 2, 2018

I'm looking forward to adding this feature.

@github-actions
Copy link

Marking this stale since there has been no activity for 30 days.
It will be closed if there is no activity for another 15 days.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants