|
|
Re: normal mapping from scene lights
[Re: gettarobox]
#177078
01/09/08 03:43
01/09/08 03:43
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
Do you want to learn HLSL, or just have this shader?
If you just want the shader, there are a few. In fact, I've got one in my signature below. Otherwise, there's also one in the Wiki, as well as Slin's Shader-Collection
xXxGuitar511 - Programmer
|
|
|
Re: normal mapping from scene lights
[Re: xXxGuitar511]
#177079
01/09/08 18:54
01/09/08 18:54
|
Joined: Feb 2007
Posts: 15
gettarobox
OP
Newbie
|
OP
Newbie
Joined: Feb 2007
Posts: 15
|
I can't seem to get the normals to compute the scene lights. I am using the shooter project template and the grenade guns explosions are computing properly but none of the lights I place in the scene.
Last edited by gettarobox; 01/10/08 18:28.
|
|
|
Re: normal mapping from scene lights
[Re: ello]
#177081
01/10/08 17:02
01/10/08 17:02
|
Joined: Aug 2005
Posts: 343 Germany
HPW
Senior Member
|
Senior Member
Joined: Aug 2005
Posts: 343
Germany
|
It's the Image from one post above yours. This Image is on a password protected server: "myfolder.unomaha.edu/usr/jsewing/snafu.jpg"
Evil Blood (v. 0.52) RPG Commport.de (Social Network Community)
|
|
|
Re: normal mapping from scene lights
[Re: HPW]
#177082
01/10/08 17:22
01/10/08 17:22
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
Shaders only compute dynamic lights (from the gun) - not static lights (the ones you place in WED)
xXxGuitar511 - Programmer
|
|
|
Re: normal mapping from scene lights
[Re: gettarobox]
#177084
01/11/08 02:00
01/11/08 02:00
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
No. I'm not exactly sure why WED has the checkbox. AFAIK, It will (eventually) create a dynamic light, but for now conitec hasn't completed that feature yet...
xXxGuitar511 - Programmer
|
|
|
Re: normal mapping from scene lights
[Re: xXxGuitar511]
#177085
01/26/08 13:09
01/26/08 13:09
|
Joined: Nov 2004
Posts: 862 Australia
DavidLancaster
User
|
User
Joined: Nov 2004
Posts: 862
Australia
|
Quote:
No. I'm not exactly sure why WED has the checkbox. AFAIK, It will (eventually) create a dynamic light, but for now conitec hasn't completed that feature yet...
Hi xXxGuitar
I'm new to this and hope my question isn't too newbie. I'm using that cool normal mapping shader. I'm using the sun along with other dynamic lights in a scene, the shader uses the sun to calculate the normal mapping however the only way the dynamic lights affect the model ontop of the sun is specularity (it seems). Is this what should be happening? Anyway you can get the models' light to be calculated from the nearest dynamic light (if there are no dynamic lights then the sun)? Anyway to have dynamic lights affect a model with a normal mapping shader the same way they do models with no shader?
Thank you.
David
|
|
|
|
|
|