Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 basic DX9 specular effect help (easy one!)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

cbx
Swordmaster

Canada
296 Posts

Posted - Oct 30 2003 :  01:42:55 AM  Show Profile  Visit cbx's Homepage  Send cbx an ICQ Message  Click to see cbx's MSN Messenger address  Send cbx a Yahoo! Message  Reply with Quote
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

Created by: X
http://www.createdbyx.com/

Eric Coleman
Gladiator

USA
811 Posts

Posted - Oct 30 2003 :  08:25:02 AM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
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.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.08 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.