• Welcome to PiBoSo Official Forum. Please login or sign up.
 
October 17, 2019, 03:03:52 am

News:

GP Bikes beta16b available! :)


Shader map tiling

Started by h106frp, April 03, 2018, 12:32:20 am

Previous topic - Next topic

h106frp

When using a large texture tile for the track surface (diffuse) is it possible to force a smaller sized shader normal/specular map to tile within this texture space rather than stretch to the parent texture size?

It just occured to me this would allow a detailed normal map of tee track surface using a compact shader texture

Thank you

TheFatController

Can't you use the 'repeat' argument in the SHD file before compiling? I've not tried but it makes sense that you could do this..

h106frp

Just had a look and the function is only documented for mxb, might be worth a try though as you never know

TheFatController

Any luck? I'm pretty hopeful it should work..