See also: [[Shaders]], [[Godot - Shaders (List)]] # Types ## Brightness Mask A texture which controls the local lightness or darkness of the texture, generally applied at a larger scale. ## Macro and Micro Textures which are blended and applied at multiple scales and/or rotations. ## Warp [[Displacement Mapping]] used on a texture (instead of vertices) to shift and stretch it across the UV axes. ## Distance Texturing Use different textures, or different scales of the same texture, depending on how far away the texture/pixel is. ```cardlink url: https://godotshaders.com/shader/camera-distance-uv-scaling/ title: "Camera Distance UV Scaling - Godot Shaders" description: "This is a simple script which interpolates the UV scaling..." host: godotshaders.com favicon: https://godotshaders.com/wp-content/uploads/2021/01/favicon-150x150.png image: http://godotshaders.com/wp-content/uploads/2021/01/dist_uv.jpg ``` ## Tile Rotation - https://github.com/Arnklit/TutorialResources/blob/main/tiling_rotation/tiling_rotation.shader ```cardlink url: https://youtu.be/nUqMDf9BrvI title: "Tiling and Random Rotation Shader in Godot 3.2.3" description: "0:00 - Intro0:27 - Tiling3:10 - Rotation7:15 - Randomization10:46 - Mipmap fix12:28 - Written Shader and OuttroConsider supporting me on https://www.patreon...." host: youtu.be favicon: https://www.youtube.com/s/desktop/daa21ba0/img/logos/favicon_32x32.png image: https://i.ytimg.com/vi/nUqMDf9BrvI/maxresdefault.jpg ``` ## Cell Bombing / Stochastic Texturing Use [[Cellular Noise]] to generate a UV texture which semi-randomly offsets portions of the texture to reduce visible tiling. ```cardlink url: https://youtu.be/tQ49FnQjIHk title: "No More Texture Repetition! Cell Bombing in Unreal Engine Materials" description: "How to create and use the \"Texture Cell Bombing\" technique to fix texture repetition. [repetitive tiling and texture tiling FIXED]Tutorial Project File: http..." host: youtu.be favicon: https://www.youtube.com/s/desktop/daa21ba0/img/logos/favicon_32x32.png image: https://i.ytimg.com/vi/tQ49FnQjIHk/maxresdefault.jpg ``` Use a hexagonal pattern to do the same. ```cardlink url: https://youtu.be/YzmnpTjit-c title: "Procedural Stochastic Texturing in #godot #visualshader #shaders #gamedev #indiedev" description: "Hello community! Have you tried using tiled textures to cover large surfaces in your meshes?If so, you're probably familiar with the visible repeat pattern t..." host: youtu.be favicon: https://www.youtube.com/s/desktop/30100020/img/logos/favicon_32x32.png image: https://i.ytimg.com/vi/YzmnpTjit-c/maxresdefault.jpg ``` - https://eheitzresearch.wordpress.com/722-2/ - https://forum.godotengine.org/t/making-a-3d-triplanar-stochastic-texture-shader-for-tiles/54530 ## Noise Mixing Use noise to mix between multiple textures. This tutorial also incorporates "cell bombing", but using procedural textures. Although in my testing having to use a separate texture to merge cells isn't super important if you configure the texture sampler to use nearest-neighbor instead of linear interpolation on the [[Cellular Noise]]. ```cardlink url: https://youtu.be/ssrJGxMtssE title: "Hiding texture repetition in Godot 4 | Tutorial" description: "Github repo: https://github.com/quwatz/tiling-texturesAll textures taken from textures.com _______ Resources:for this I basically had to transform my blender..." host: youtu.be favicon: https://www.youtube.com/s/desktop/30100020/img/logos/favicon_32x32.png image: https://i.ytimg.com/vi/ssrJGxMtssE/maxresdefault.jpg ``` # References - [[Making Textures Repeats Less Obvious]] ```cardlink url: https://youtu.be/sT6Putyi6_Y title: "Non-tiling materials in Godot 4 [Liblast ubershader WIP 2023-03-24]" description: "Liblast is an open-source multiplayer FPS game created with Godot 4 game engine and a completely open-source toolset.Get the game here: https://codeberg.org/..." host: youtu.be favicon: https://www.youtube.com/s/desktop/a669eefe/img/favicon_32x32.png image: https://i.ytimg.com/vi/sT6Putyi6_Y/maxresdefault.jpg ``` ```cardlink url: https://youtu.be/GlQS6PWzEF8 title: "Procedural Textures" description: "In this paper I propose a new 3-to-3 random number generation algorithm.More seriously though: In this video I explore procedurally generated texturing using..." host: youtu.be favicon: https://www.youtube.com/s/desktop/5e42dd8a/img/favicon_32x32.png image: https://i.ytimg.com/vi/GlQS6PWzEF8/maxresdefault.jpg ``` ```cardlink url: https://youtu.be/ssrJGxMtssE title: "Hiding texture repetition in Godot 4 | Tutorial" description: "Github repo: https://github.com/quwatz/tiling-texturesAll textures taken from textures.com _______ Resources:for this I basically had to transform my blender..." host: youtu.be favicon: https://www.youtube.com/s/desktop/5e42dd8a/img/favicon_32x32.png image: https://i.ytimg.com/vi/ssrJGxMtssE/maxresdefault.jpg ```