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 / Matrix Lighting Issues

Author
Message
bakall
17
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 18th Jan 2009 14:45
hey guys

I\'m having some serious trouble getting lights to show up on my textured matrix. I\'m guessing it has something to do with the SET MATRIX NORMAL command, but I really am having trouble understanding it.

This is the code I\'m using to create the matrix.

global g as integer = 10000
make matrix 1, g, g, 40, 40
load image \"image.bmp\", 1000000
prepare matrix texture 1, 1000000, 1, 1
position matrix 1, 0 - (ground/2), 0, 0 - (ground/2)
update matrix 1
bakall
17
Years of Service
User Offline
Joined: 18th Jan 2009
Location:
Posted: 20th Jan 2009 14:07
anyone able to throw me a bone here at all?
AGL
18
Years of Service
User Offline
Joined: 13th Jan 2008
Location:
Posted: 15th May 2009 14:00
I just got the same problem recently with lights and matrices. I found that matrices don't accept light when screendepth is set to 16bits.

AGLP

Login to post a reply

Server time is: 2026-06-11 07:42:31
Your offset time is: 2026-06-11 07:42:31