Post

 Resources 

Console

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

 All Forums
 VBGamer
 VBGamer
 lighting in d3d9
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

allked
Neophyte

5 Posts

Posted - Apr 17 2005 :  11:40:20 AM  Show Profile  Reply with Quote
i still can't open my own direction, spot ,or point light in my basic 3d platform(just a ground), also why i can't enabled stencil????depth???
when i set light0.enable=true, there will be nothing without black in form
how to set up a light and open it?do i need to set normal for the groung?

ardman
Squire

15 Posts

Posted - Apr 18 2005 :  02:09:30 AM  Show Profile  Visit ardman's Homepage  Reply with Quote
Could you post your code for this as it's easier to determine where the problem is.


Cheers! :)
Go to Top of Page

Almar
Moderator

Netherlands
192 Posts

Posted - Apr 18 2005 :  3:17:06 PM  Show Profile  Visit Almar's Homepage  Send Almar an ICQ Message  Reply with Quote
Yes, you need to calcualte normals for the vertices, and set the correct FvF type. There are probably a few tutorials around, which I might have bookmarked..

(dx8 tutorials are there plenty, and you should beable to find those easily ;))
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.09 seconds. Snitz Forums 2000

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