cbx |
Posted - Oct 30 2003 : 01:42:55 AM I am trying to do basic specular highlights (shine effect) in dx9 managed and vb.net.
I have written a (slow ) program just so that I can set the texture state info etc at runtime to see what all of the options/combanations do, but I can't quite get specular highlights to work.
Any help would be apreciated.
I have been working off of the turorials at http://www.directx4vb.com/ which claim specular effects are easy but I can't quite get it to work.
I included a pre-release of my DX9Tools Release 4 in the zip file along with the source for the application as well. you will need to rereference the dx9tools dll in order to compile.
Download Attachment: http://vbgamer.strategon.com/msgboard/uploaded/cbx/2003103014214_EnvMap.zip" target="_blank">EnvMap.zip 51.55 KB |
Eric Coleman |
Posted - Oct 30 2003 : 08:25:02 AM I'm not familiar with directx 9, but something seems to be wrong with your lights. If I change the color of the light, then nothing happens. If the lights were working, then changing the color of the light will effect whatever it shines on. My best guess is to read the SDK on what it says about enabling lights and the proper settings for them. |
|
|