Unified Triplanar Shader & Material Property Block API

Links: Manual


Try before you buy. Download the demos:

Android Demo (URP)

Pc Demo (HDRP)


Features


✔️ URP, HDRP and Built-in support


✔️ Supports normal maps, metallic/gloss maps, occlusion maps


✔️ Material Property Block Support


✔️ Scripting API: One API for all render pipelines.

You don't have to concern yourself with what RP you are on right now.

Your code stays the same, everywhere!


✔️ No coding skills required:

All properties are accessible through the shader inspector too.


✔️ Multiple shader variations:

Simple (performance), Complex (high quality)


✔️ Multiple shader layouts:

Optimized for often required use cases like

Top/Middle/Bottom, X/Y/Z, SingleTexture.


✔️ Based on Unity shaders:

It supports anything the normal shaders do (GPU instancing).


✔️ Shader Graphs for URP and HDRP: Modify the shaders to your liking.


✔️ Shader documentation:

Everything is documented with comments so you can follow along easily.


✔️ Demos: All shaders (and variations) are presented in demo scenes with a ready-to-go UI.


✔️ Full Source Code included!

I publish this asset with full source code because as a developer I know how annoying it is to not have source code access. If you like it then please remind others to purchase the plugin. Don't just copy and paste it everywhere. Thank you ❤️


✔️ Supports Unity 2020, 2021, 2022, 2023, Unity 6 ... LTS


⚠️ NOTICE: This is not a terrain shader. It can be used on terrains too but it will treat the terrain mesh just like any other mesh (no texture layering). There are excellent solutions for terrain shading available (Mega Splat).




✍️ Usage

Import the asset and open one of the demos (Assets/Kamgam/TriplanarShader/[BuilltIn or URP or HDRP]/Demo). Copy whatever you need and delete the rest. The shaders themselves do not requirey any scripts to work. If you want to modify the shader properties at runtime then take a look at the Scripting demos.


HINT: The demos are ready to build (in case you just want to try them out on your device).

You will find the shaders in the shader dropdown.


Built-In > Triplanar/BuiltIn/..

URP > Universal Render Pipeline/Triplanar/..

HDRP > Triplanar/HDRP/..



☎️ Support


If you have any questions please write to office[at]kamgam.com. Please be patient, replies may take a few days. Please include your Asset Store Order Nr and Unity version in your request.

Thank you.



If you like this asset then maybe you'll like these too:


🧤 Double Sided Mesh without shaders

Make your mesh double sided within seconds.


Sky Clouds

Fluffy clouds that look cool close up and from afar.


☘️ 2.5D Terrain

3D Mesh and 2D collider generated from curves.


🚧 Exclude from build

Exclude any files and directories from build.