1 registered members (AndrewAMD),
1,534
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Second UV Set for light map - How to use?
[Re: tkunze]
#217739
07/24/08 16:13
07/24/08 16:13
|
Joined: Nov 2007
Posts: 1,032 Croatia
croman
Serious User
|
Serious User
Joined: Nov 2007
Posts: 1,032
Croatia
|
try looking in manual if you haven't already. if it doesn't help you, it would be good if you ask ventilator.
Ubi bene, ibi Patria.
|
|
|
Re: Second UV Set for light map - How to use?
[Re: croman]
#217755
07/24/08 18:09
07/24/08 18:09
|
Joined: Nov 2005
Posts: 1,007
jigalypuff
Serious User
|
Serious User
Joined: Nov 2005
Posts: 1,007
|
usr this code one of the guys gave me
aterial Lum_mtl /// Windows and naell glows
{
effect=
"
texture entSkin1;
texture entSkin3;
technique t0
{
pass p0
{
Texture[0] = <entSkin1>;
Texture[1] = <entSkin3>;
ColorArg1[0] = Texture;
ColorOp[0] = Modulate;
ColorArg2[0] = Diffuse;
ColorArg1[1] = Texture;
ColorOp[1] = add;
ColorArg2[1] = Current;
}
}
";
}
use a lightmap as second texture
Why does everyone like dolphins?
Never trust a species which smiles all the time!
|
|
|
Re: Second UV Set for light map - How to use?
[Re: jigalypuff]
#217760
07/24/08 18:28
07/24/08 18:28
|
Joined: Oct 2007
Posts: 5,210 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
|
@jigalypuff
this is a standart fixed lightmapping shader, it has nothing to do with second uvset ????
edit: from beta page:
The second UV skinning data from the MDL7 format is now imported in the engine and used for the D3DVERTEX u2,v2 coordinates. If a model has a second UV set, it is automatically treated as if its second skin were a lightmap (if it has no shader or FFP effect).
Last edited by Quadraxas; 07/24/08 18:36.
3333333333
|
|
|
Re: Second UV Set for light map - How to use?
[Re: Quad]
#217895
07/25/08 11:58
07/25/08 11:58
|
Joined: Oct 2004
Posts: 150 Germany
tkunze
OP
Member
|
OP
Member
Joined: Oct 2004
Posts: 150
Germany
|
med->edit->activate seond uv set ??? This is the step to import the second UV set which i generated in a light map tool. When you switch this option you can work on the different UV sets. But again everything looks good in med but shows no effect.
|
|
|
|