|
Re: [Supply] Matt's NormalMapping shader with 3 li
[Re: ]
#118040
03/31/07 04:24
03/31/07 04:24
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
@Frank_G: A model 2 shader will work on a model 3 card... You don't need to change the code, it won't help.
@fear411: Simply include the <NM.wdl> in your project. Then apply the material to your models.
@All: Sorry, I forgot to add the static lighting code. I'll add it, fix the above mentioned problems, and maybe more.
I didn't use vecAmbient on purpose, because it wasn't working for me. I had included it (as a float4), but it always returned 1.0f in all slots.
I will update the code, and then send it to William, as he is currently my supervisor.
xXxGuitar511 - Programmer
|
|
|
Re: [Supply] Matt's NormalMapping shader with 3 li
[Re: xXxGuitar511]
#118041
03/31/07 07:11
03/31/07 07:11
|
Joined: Nov 2004
Posts: 7,121 Potsdam, Brandenburg, Germany
Machinery_Frank
Senior Expert
|
Senior Expert
Joined: Nov 2004
Posts: 7,121
Potsdam, Brandenburg, Germany
|
xxGuitar:
You misunderstood me. The shader from this thread compiles on shader 3.0. But Matt's older version on 2.0 (and on 3.0 cards as well). Because of that I would like to have both of them in the WIKI.
So we could create some kind of fallback solutions.
Models, Textures and Games from Dexsoft
|
|
|
Re: [Supply] Matt's NormalMapping shader with 3 li
[Re: Machinery_Frank]
#118043
03/31/07 13:18
03/31/07 13:18
|
Anonymous
Unregistered
|
Anonymous
Unregistered
|
ich bekomme immer fehler wenn ich das spiel starte. ich nutze auch noch sylex und newton.
keyword unknown float4x4 und noch viele mehr
|
|
|
Re: [Supply] Matt's NormalMapping shader with 3 li
[Re: xXxGuitar511]
#118044
03/31/07 15:35
03/31/07 15:35
|
Joined: Apr 2004
Posts: 83
DWilki
Junior Member
|
Junior Member
Joined: Apr 2004
Posts: 83
|
Very nice shader. I've applied this to models and it looks great. A question. I am trying to apply this to a mesh to be used as world geometry. I have seen this problem before and I think its a UV mapping issue with the mesh I am using. I can remember how I fixed this problem once before. Anyone have any suggestions as to what I am doing wrong with the mesh?
Last edited by DWilki; 03/31/07 15:38.
|
|
|
Re: [Supply] Matt's NormalMapping shader with 3 li
[Re: DWilki]
#118045
03/31/07 15:56
03/31/07 15:56
|
Anonymous
Unregistered
|
Anonymous
Unregistered
|
how i apply the shader to a model?
|
|
|
Re: [Supply] Matt's NormalMapping shader with 3 li
[Re: DWilki]
#118047
03/31/07 16:16
03/31/07 16:16
|
Anonymous
Unregistered
|
Anonymous
Unregistered
|
where can i look if the skins are right?
|
|
|
Re: [Supply] Matt's NormalMapping shader with 3 li
[Re: ]
#118048
03/31/07 16:34
03/31/07 16:34
|
Joined: Apr 2004
Posts: 83
DWilki
Junior Member
|
Junior Member
Joined: Apr 2004
Posts: 83
|
Quote:
where can i look if the skins are right?
Open your model in med, then go to "Edit" and select "Manage skins".
|
|
|
Re: [Supply] Matt's NormalMapping shader with 3 li
[Re: DWilki]
#118049
03/31/07 16:36
03/31/07 16:36
|
Anonymous
Unregistered
|
Anonymous
Unregistered
|
@DWilki can you post an example model,please?
|
|
|
|