Jump to content
  • Advertisement
Sign in to follow this  
D3DXVECTOR3

Need help with shaders

This topic is 4900 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

I could have solved this by my slef IF the search had worked, when are they gonna fix it anyway!? It's been 2 months now. Anyway Im looking for an example/tutorial/explanation that will help me to have a shader that does this http://members.home.nl/skynet2097/Temp/ScreenShot00.jpg http://members.home.nl/skynet2097/Temp/Shader.jpg I have been busy all day and for a sec I thought I had but it wasnt really what I was looking for. If only the search worked :( [Edited by - D3DXVECTOR3 on January 16, 2005 11:34:47 AM]

Share this post


Link to post
Share on other sites
Advertisement
Which part are you looking for in particular? The first image shader has both bump-mapping and specular. The second one is only specular. If you're looking for specular I can post some code (although that also depends on whether you want per-pixel specular or per-vertex specular) -- if you also want bump-mapping that makes it more difficult.

Share this post


Link to post
Share on other sites
Looks like the first screen is from Humus.ca, I think here:

http://www.humus.ca/index.php?page=3D&ID=4

but I'm not sure if that's the exact one.

By the way, the search function is working fine for me...

Share this post


Link to post
Share on other sites
^^ Yep one of them is from Humus.

I could any example that will help me. It has 2 work woth low poly environments/models. Specular and/with bumpmapping

Share this post


Link to post
Share on other sites
The first one is probably using normal mapping with squared falloff attenuation and specular, whereas the second is just standard specular glow. Google can take you from there.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!