2 registered members (AndrewAMD, juanex),
1,247
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Ulitimate lighting shader pack v1.0
[Re: Josh_Arldt]
#36815
11/26/04 21:32
11/26/04 21:32
|
Joined: Dec 2003
Posts: 1,097 Maryland, USA
Steempipe
Serious User
|
Serious User
Joined: Dec 2003
Posts: 1,097
Maryland, USA
|
Quote:
Wierd, mine doesn't seem to react to any light at all. I placed two light_pos_object in the level. One behind the model and one infront of him. He is almost completely black.
In the Object Properties, give your a light(s) a color. For example; skill1 = 255 skill2 = 255 skill3 = 128
Otherwise, the light is going to be "black".
|
|
|
Re: Ulitimate lighting shader pack v1.0
[Re: Josh_Arldt]
#36818
11/27/04 05:31
11/27/04 05:31
|
Joined: Dec 2003
Posts: 1,097 Maryland, USA
Steempipe
Serious User
|
Serious User
Joined: Dec 2003
Posts: 1,097
Maryland, USA
|
Quote:
The model still stays black.
Next, I would troubleshoot it by making "nofog" true (if you have fog setup in your project)... If that solves it, then you will need to add fog code to the shader or have no fog.
|
|
|
Re: Ulitimate lighting shader pack v1.0
[Re: Samb]
#36820
11/27/04 06:25
11/27/04 06:25
|
Joined: Dec 2003
Posts: 1,097 Maryland, USA
Steempipe
Serious User
|
Serious User
Joined: Dec 2003
Posts: 1,097
Maryland, USA
|
They claim that the proof is in the pudding... This is a good shader that Matt has tweaked. This shot is using pixelshader 2.0 with (2) lights in (1) pass. One with a bit of a red, and the other a bit of a yellow hue. The crate is a model and the wall is level geometry. The lights behave well and the scaling is not a problem.
|
|
|
Re: Ulitimate lighting shader pack v1.0
[Re: TheExpert]
#36822
11/27/04 09:39
11/27/04 09:39
|
Joined: Dec 2003
Posts: 1,097 Maryland, USA
Steempipe
Serious User
|
Serious User
Joined: Dec 2003
Posts: 1,097
Maryland, USA
|
Quote:
Steempipe have you modified the shader code to make it work under V2 shaders ?
This is correct. Fun stuff!
|
|
|
|