1 registered members (henrybane),
1,499
guests, and 1
spider. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Normalmapping with multi-textured terrains
[Re: vartan_s]
#142423
07/20/07 17:52
07/20/07 17:52
|
Joined: May 2005
Posts: 2,713 Lübeck
Slin
Expert
|
Expert
Joined: May 2005
Posts: 2,713
Lübeck
|
xXxGuitar511 posted on a few weeks/months ago Just search for it in the shaderforum or wait a few more days... Slin
|
|
|
Re: Normalmapping with multi-textured terrains
[Re: Slin]
#142424
07/21/07 02:47
07/21/07 02:47
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
It's in this section somewhere. Just go back a few days, shouldn't be hard to find. It actually ran very well too, but it applied normalmapping to all (4) textures and an additional one over the entire terrain...
xXxGuitar511 - Programmer
|
|
|
Re: Normalmapping with multi-textured terrains
[Re: D3D]
#142427
07/21/07 10:26
07/21/07 10:26
|
Joined: May 2005
Posts: 2,713 Lübeck
Slin
Expert
|
Expert
Joined: May 2005
Posts: 2,713
Lübeck
|
Quote:
I've seen that thread, but it doesn't help, as my textures are defined by script, not by terrain skins. I could change to one with terrain skins, but I'm hoping I don't have to.
the problem is, that it is only possible to pass 4 entity skins and 4 materialskins to the shader. This shader needs 8 textures, so they all have to be used. The C-Script part of that shader assigns the entity skins 5-8 to the 4 materialskins. Maybe you could load the first four entity skins from the script but I have no idea, how that could be done...
|
|
|
Re: Normalmapping with multi-textured terrains
[Re: Slin]
#142428
07/21/07 16:42
07/21/07 16:42
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
I'll go find the shader, but I need to know from you which tex's need to be loaded from the material (as Slin said, max 4)...
Also, if there's anything else you need modified on the shader, tell me now...
xXxGuitar511 - Programmer
|
|
|
Re: Normalmapping with multi-textured terrains
[Re: vartan_s]
#142430
07/21/07 18:08
07/21/07 18:08
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
Ok, as said I have access to 4 ent skins and 4 mtl skins. Which ones need to be mapped where?
ent: 1) base skin - fallback support, right? 2) mask
mtl: 1) diffuse 1 2) diffuse 2 3) diffuse 3
Which textures need to be normalmapped, and does the normalmap need to be dynamic (through material)?
Also, I can change the tiling factor through the shader, How do you want to access them through c-script (material or entity skills)?
The more info/details you give me the better!
xXxGuitar511 - Programmer
|
|
|
|