skin1(base) + skin2 (lightmap)

Posted By: Wjbender

skin1(base) + skin2 (lightmap) - 11/14/14 14:33

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.
Posted By: MasterQ32

Re: skin1(base) + skin2 (lightmap) - 11/14/14 14:55

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.
Posted By: Wjbender

Re: skin1(base) + skin2 (lightmap) - 11/14/14 15:21

thanks got it working
© 2024 lite-C Forums