DshWinchester Posted April 7, 2012 Author Share Posted April 7, 2012 I was messing around and found this![](http://img255.imageshack.us/img255/7496/beztytuugex.jpg)I try fogs but dont render like this so what is it?I found a d3d function called .setLight> d3ddevice8.SetLight(index,light as D3DLIGHT8)(but I dont know how use it,anyone can help me or give directions about the screen? thanks Link to comment Share on other sites More sharing options...
evilbunnie Posted April 10, 2012 Share Posted April 10, 2012 @Sawamura:> I was messing around and found this> > ![](http://img255.imageshack.us/img255/7496/beztytuugex.jpg)> > I try fogs but dont render like this so what is it?> > I found a d3d function called .setLight> > but I dont know how use it,anyone can help me or give directions about the screen? thanksTake a look at the DirectX SDK Documentation..Furthermore; I suggest you use fake lighting, simply because this is a 2D game and doesn't actually require full lighting, which will decrease your performance a lot. Link to comment Share on other sites More sharing options...
Baron Posted April 10, 2012 Share Posted April 10, 2012 If i had to guess I'd say they used a diffuse cloud set to multiply. Not sure about replicating the effect programmatically though Link to comment Share on other sites More sharing options...
DshWinchester Posted April 11, 2012 Author Share Posted April 11, 2012 the only thing we know is that is extremely realistic for a 2d gamethanks to you two Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now