Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Dynamic Shadow With Multiple Lights

Author
Message
puppysss
19
Years of Service
User Offline
Joined: 13th Mar 2007
Location: UnCyber Space
Posted: 2nd Aug 2010 17:34 Edited at: 2nd Aug 2010 17:35
Hi, I have coded light code that It use lots of lights.
I placed a light with evolved 2d shadow mapping shader.
then I tested it. It was fine. But I needed light shader for many lights. However , When I started coding , I felt crazy.
I really need some helps!

Knowledge Is Well-Known Wisdom.
So Wisdom Is Very Absolute.
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 2nd Aug 2010 17:55
Some code would help

puppysss
19
Years of Service
User Offline
Joined: 13th Mar 2007
Location: UnCyber Space
Posted: 2nd Aug 2010 18:21
I saw many codes and threads. but they were that using shadow with lightmaps of static light. In other way , they said writing many lights codes in shadow shader code. Umm...
Also I heard about deferred shading. but it was also bad performance.


Knowledge Is Well-Known Wisdom.
So Wisdom Is Very Absolute.
puppysss
19
Years of Service
User Offline
Joined: 13th Mar 2007
Location: UnCyber Space
Posted: 4th Aug 2010 14:28
Hmm... So could you give some tips to me about shadows of many lights?

Knowledge Is Well-Known Wisdom.
So Wisdom Is Very Absolute.
BrightSpark42
16
Years of Service
User Offline
Joined: 11th Apr 2010
Location:
Posted: 16th Oct 2010 19:27
Check out Evolved's Adavanced Lighting, you can have up to 8 shadows cast on an object. Performace is pretty good and it looks sweet!

BS

Login to post a reply

Server time is: 2026-07-22 12:41:51
Your offset time is: 2026-07-22 12:41:51