3
2012
Multi-UV Mixing (shader)
Testing multi-UV mixing (related forum link).
All this shader does, it uses the same material with different sizes.. so it doesnt look so tiled.
(but loses detail and actually while testing, simple bumpmap helps to remove tiling quite nicely also..)
Screenshot:left side, standard diffuse map – right side, UV mixed map.
This version is made directly from “Diffuse” shader (link to Unity docs)
find line:
o.Albedo = tex2D (_MainTex, IN.uv_MainTex).rgb;
replace with: (adjust the multipliers to get different effects)
half3 col= tex2D (_MainTex, IN.uv_MainTex).rgb*0.5; col+=tex2D (_MainTex, IN.uv_MainTex*0.75).rgb*0.25; col+=tex2D (_MainTex, IN.uv_MainTex*0.5).rgb*0.25; o.Albedo = col;
Related Posts
7 Comments + Add Comment
Leave a comment to mgear
Recent posts
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
- UnityHub: Add support for custom project title (instead of folder name) or use ProductName
- Testing Unity MUSE AI
- QR Code Generator Online
TriPlanar shader:
http://www.martinpalko.com/Tutorials/TriplanarMapping/TriplanarMapping.html
Improved Triplanar map shader:
https://www.shadertoy.com/view/lsj3z3
triplanar shader:
http://forum.unity3d.com/threads/234373-Unity-Multi-Material-Triplanar-Texturing
Improved Terrain Texture Tiling (shader)
http://forum.unity3d.com/threads/improved-terrain-texture-tiling.116509/
smoother tri-planar shader:
http://www.blog.radiator.debacle.us/2013/02/a-smoother-triplanar-shader-for-unity.html?m=1
How to setup normals on triplanar
http://forum.unity3d.com/threads/how-to-setup-normals-on-triplanar.373310/
“For a certain class of textures called stochastic textures, it solves the issue of tiling repetition when tileable textures are repeated across a surface”
https://github.com/UnityLabs/procedural-stochastic-texturing
https://blogs.unity3d.com/2019/02/14/procedural-stochastic-texturing-in-unity/