• Welcome to PiBoSo Official Forum. Please login or sign up.
 
July 08, 2020, 11:23:31 AM

News:

World Racing Series beta14 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..

h106frp

Having noticed the improved grass textures in b17 default tracks I thought I would re-visit this and early results from a test scene using mapview suggest this does actually work.

Thanks for the tip  :)