Maybe a dumb question, but would there be a way to extend the current TerrainMaterial shader code with some sort of Triplanar Mapping (maybe using a Material Plugin)?
Hi @carolhmj, thanks for checking in. Honestly, I’m a bit lost on the subject, somehow shader code really flies over my head
I haven’t investigated it further, but as far as I could tell it would be quite hard to apply both mix + triplanar because the triplanar texture has to be projected from multiple directions, while the mix only works if projected from the top…
I’ll be banging my head against this one in the future I’m sure.
Thank you for the suggestions, Simon has a Shader series as well I’m going to look into it next. Somehow I think I need to make peace (aka. learn) the basic Maths involved in Shaders, and actually, just start doing it.
I love how easy is to roll your own shader code in Babylon, huge help from the engine.