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
Recent posts
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- 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)
Recent Comments
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- ffmpeg stream raw video into Unity Texture2D on
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/