- Home /
Help with triplanar shader
I'm using a triplanar shader to get my textures to tile correctly, however I have run into a bit of a problem. Textures on faces along the local x axis are sideways. I'm not very good at shaders, so the triplanar shader I'm using is not one I've made and I don't know how it works. The shader I'm using: https://github.com/keijiro/StandardTriplanar
if anyone could tell me why textures along the x axis are sideways or how to fix it, it would be very much appreciated
Answer by SunnyChow · Aug 21, 2018 at 10:08 AM
Maybe you can try changing
tofloat2 ty = IN.localCoord.zx * _MapScale;
or other two lines of script. it's just a guess. i haven't done experiment in my sidefloat2 ty = IN.localCoord.xz * _MapScale;
Your answer
Follow this Question
Related Questions
How to make a texture tile and not stretch 5 Answers
Projector + custom fragment shader = endless texture draw 2 Answers
bymp map shaders 0 Answers
How to apply specific texture for specific triangle in mesh based on height in shader? 0 Answers
Texturing Help 2 Answers