Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (alibaba, vicknick), 1,492 guests, and 4 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
skin1(base) + skin2 (lightmap) #447069
11/14/14 14:33
11/14/14 14:33
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline OP
User
Wjbender  Offline OP
User
W

Joined: Mar 2012
Posts: 927
cyberspace
I am trying out shaders , I know next to nothing about
how to work with them .

I am trying to combine the base plus the lightmap
texture of blocks , what I believe I am stuck with
is I do not know how to correctly apply the skin2
which is a lightmap ,I can see it but how do I apply
the uv's correct because it just tiles all over now ,instead of keeping the correct uv's.


Compulsive compiler
Re: skin1(base) + skin2 (lightmap) [Re: Wjbender] #447070
11/14/14 14:55
11/14/14 14:55
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
you have a second uv set in the vertex shader input (TEXCOORD1). those can be used for light mapping if a light map is applied.


Visit my site: www.masterq32.de
Re: skin1(base) + skin2 (lightmap) [Re: MasterQ32] #447071
11/14/14 15:21
11/14/14 15:21
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline OP
User
Wjbender  Offline OP
User
W

Joined: Mar 2012
Posts: 927
cyberspace
thanks got it working


Compulsive compiler

Moderated by  Blink, Hummel, Superku 

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