Jump to content
  • Advertisement
Sign in to follow this  
esmitt

Different shaders on different objects (GLSL)

This topic is 2971 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi everyone, is it possible apply different shaders to different object in a scene at the same time
By example, I have 2 shaders (normal mapping and car-paint effect) and I want to put it the first only in the walls on my scene and second in my main object (a car). How I can do that? I'm working in GLSL.
Thanks in advance

esmitt

Share this post


Link to post
Share on other sites
Advertisement
Oh, thank you. I tried it that way, but I have problems with my transformations.
I have to try again!
thx again
esmitt

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!