Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Adding a light

10 views
Skip to first unread message

lesjeuxdebe...@gmail.com

unread,
May 26, 2020, 9:58:43 AM5/26/20
to PlayN
Hello,
I start to learn PlayN but i can't find how to add a light to my 2d scene graph.
For my futurs projects, i would like to use a normal map for my 2d lights effects but for this i need to add a simple light ^^'.
Could you help me please ?
Thanks ! =)
(sorry for my bad english, i'm french)

lesjeuxdebe...@gmail.com

unread,
May 28, 2020, 3:38:45 AM5/28/20
to PlayN
reup.
Please, i need help.

Michael Bayne

unread,
May 28, 2020, 10:19:45 AM5/28/20
to pl...@googlegroups.com
PlayN does not have any built-in support for lighting. I'm not aware of anyone that has written a library to help with doing 2D lighting either. You might want to look at libGDX which has a lot more stuff built-in and many more third party extensions.

--

---
You received this message because you are subscribed to the Google Groups "PlayN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to playn+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/playn/38cc0728-a697-4511-ac59-22d665048d4a%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages