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 / Manually applying a light map

Author
Message
Fallout
23
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 21st Mar 2012 17:14 Edited at: 21st Mar 2012 17:29
Edit: Sorry about this thread! I was asking questions about blend mapping with relation to DBPro, but I was actually implementing it in DGDK (I thought it'd be the same). As it turns out, the commands look like they work in DBP, but haven't been implemented in DGDK.

Brendy boy
20
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 21st Mar 2012 20:14
use shader and blend diffuse map and lightmap in pixel shader

Fallout
23
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 21st Mar 2012 21:59
Yep, you beat me to it. Just written a lightmap shader. I'll probably get a better effect anyway.

Login to post a reply

Server time is: 2026-07-09 23:12:35
Your offset time is: 2026-07-09 23:12:35