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 / Bump shader - texture data

Author
Message
Lemonade
17
Years of Service
User Offline
Joined: 10th Dec 2008
Location:
Posted: 1st Jul 2010 22:46
I am using an awesome bump\spec shader from the ultimate shader pack, but it requires me to input the texture names directly into the shader file to function. How can I make it receive the data from the DBP object texture stages?

The shader is uploaded.

Duke E
17
Years of Service
User Offline
Joined: 10th Mar 2009
Location:
Posted: 2nd Jul 2010 08:47
From the help file:

LOAD EFFECT Filename, Effect Number, Texture Flag

Texture Flag

Integer
If the Texture Flag is set to zero, the effect will use the textures already mapped to the model, and a value of one will discard the current textures and load the textures specified in the FX file. Typically, effects rely on the specified model and text.

Regards

Login to post a reply

Server time is: 2026-07-25 09:40:45
Your offset time is: 2026-07-25 09:40:45