Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[CS:DE]-Darker/Lighter textures function?


DshWinchester
 Share

Recommended Posts

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

@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? thanks

Take 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...