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.

Dark GDK / How to apply multiple shaders on a same model ?

Author
Message
Franck22000
15
Years of Service
User Offline
Joined: 7th May 2009
Location:
Posted: 7th May 2009 18:05
Hello !

I would like to know how i can apply multiple shaders on a same model ? I have downloaded elvolved shaders packs and i would like for example to have normal mapping and dynamics lights and shadows at the same time on 1 single model. how should i do :s

I was doing a lot of research on the forum but it's still not very clear for me

Thanks !
Franck22000
15
Years of Service
User Offline
Joined: 7th May 2009
Location:
Posted: 7th May 2009 22:08
i found a good shader for lighting and paralax mapping but it works only for one light:



If someone tell me how do to more than 1 light with an example code (for shader and c++) it will be great
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 8th May 2009 12:10
I'm afraid that to apply multiple shaders on the same object, those shaders must be combined in a single shader
Sometimes this can be done in one single render pass, and sometimes not.

Quote: "...example code (for shader and c++)..."

Well, you may want to ask for your shader doubts here

Learning to write Shaders

but don't expect a full c++ example.

Login to post a reply

Server time is: 2024-11-25 12:23:28
Your offset time is: 2024-11-25 12:23:28