Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (howardR, 7th_zorro), 893 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
uv shifting on one skin #404496
07/10/12 00:35
07/10/12 00:35
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline OP
Member
jenGs  Offline OP
Member
J

Joined: Jul 2010
Posts: 283
Germany
Hi,
Is it possible to shift only one subskin of an entity?
Is this even possiblie without using a shader?
And, if not, is there a shader out with easy uv shift, that shift'sonly one skin?

I have an entity with different skins mapped to different parts of the mesh. Now I want to shift only the, let say "water part" of the skin. my.uv only shifts all skins and not only "entskinx".

Patrick

Re: uv shifting on one skin [Re: jenGs] #404502
07/10/12 06:12
07/10/12 06:12
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Well, this is perfectly possible with different scenarios. You can do this in one shader (assuming that you mix all textures in there) or you load a shader into the skin in MED, which behaves differently than the standard shader for that model.

How are you shading your model?

Re: uv shifting on one skin [Re: HeelX] #404512
07/10/12 10:46
07/10/12 10:46
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline OP
Member
jenGs  Offline OP
Member
J

Joined: Jul 2010
Posts: 283
Germany
For now there are three different mesh groups with 3 different skins + map with a standart model material assigned. Nothing special. I played arround with some shaders and assigned them via ent_mtlset. But whenever I did this, the whole model appereance changed. Some parts lost there alpha. Some parts where shaded in different colors. Only the skin set in ent_mtlset was not affected.

If I assign a shader to one skin via ent_mtlset, to which skin is entskin1 pointing?

Re: uv shifting on one skin [Re: jenGs] #404537
07/10/12 19:40
07/10/12 19:40
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Well, I didn't thought of using ent_mtlset, I thought of loading the fx file into the skin, but it should work with ent_mtlset, too.

Quote:
If I assign a shader to one skin via ent_mtlset, to which skin is entskin1 pointing?


To the skin, which you assigned. The next skin in the entity's skin list will be entSkin2 then, and so on.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1