# Hints
| v4.x | Type(s) |
| -------------------------------------------------------- | -------------- |
| `source_color` | `vec3`, `vec4` |
| `hint_default_white` | `sampler2D` |
| `hint_default_black` | `sampler2D` |
| `hint_default_transparent` | `sampler2D` |
| `source_color` | `sampler2D` |
| | `sampler2D` |
| `hint_normal` | `sampler2D` |
| `hint_anisotropy` | `sampler2D` |
| `hint_range`<br>`(min, max[, step])` | `int`, `float` |
| `hint_roughness`<br>`[_r, _g, _b, _a, _normal, _gray]` | `sampler2D` |
| `filter`<br>`[_nearest, _linear][_mipmap][_anisotropic]` | `sampler2D` |
| `repeat`<br>`[_enable, _disable]` | `sampler2D` |
| `hint_screen_texture` | `sampler2D` |
| `hint_depth_texture` | `sampler2D` |
| `hint_normal_roughness_texture` | `sampler2D` |
# Resources
- [[Godot - Shaders List]]
- [[Godot - Visual Shaders]]
- [[Godot - Stencil Buffer]]
- [[Godot - Compute Shaders]]
- https://godotshaders.com/snippet/useful-code-snippets/
## Conversions
- [[Godot - Shaders v3 to v4 Conversion]]
- https://github.com/Lcbx/gdReshade Import Reshade Shaders
- https://github.com/bitsycore/godot-shader-to-image Convert shader to a texture at runtime
## Custom
- [[Godot - Post-Processing Shaders]]
```cardlink
url: https://medium.com/@ShaderError/godot-custom-shader-built-ins-44f88007a054
title: "Godot Custom Shader Built-ins"
description: "General information about Spatial Rendering Pipeline, and how to add your own custom build-ins in Godot Shader."
host: medium.com
favicon: https://miro.medium.com/v2/5d8de952517e8160e40ef9841c781cdc14a5db313057fa3c3de41c6f5b494b19
image: https://miro.medium.com/v2/resize:fit:1200/1*7LQ6Ci5gCPdBDnjwO5Qv-w.png
```
# References
- https://www.reddit.com/r/godot/comments/14t4h2l/using_fastnoiselite_or_any_glsl_library_in_a/
- https://www.nightquestgames.com/the-magic-behind-shaders-in-godot-4/
```cardlink
url: https://youtu.be/nyFzPaWAzeQ
title: "Welcome to Shaderland - An introduction to shaders in Godot"
description: "Hello Godotneers! Have you ever wanted to use shaders in your game but found that they are some sort of black magic? In this video we're going to to explore ..."
host: youtu.be
favicon: https://www.youtube.com/s/desktop/7c0eb0c2/img/favicon_32x32.png
image: https://i.ytimg.com/vi/nyFzPaWAzeQ/maxresdefault.jpg
```