Need help with shaders

Started by
4 comments, last by Promit 19 years, 3 months ago
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]
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.
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...
--------------Trans2D - 2D library for C# / Managed DirectX
^^ 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
Any1!?
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.
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.

This topic is closed to new replies.

Advertisement