Edit of asset "Procedural Materials Demo" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Procedural Materials Demo | Procedural Materials Demo |
Description |
This demo includes procedurally generated materials with 3 different techniques: - NoiseTexture2D: Built-in class that generates images on the CPU based on noise patterns (such as Simplex or Cellular). This is suited for static textures only. Texture generation is done asynchronously and is faster than using scripting, since the noise algorithms are implemented in C++ in the engine. - Scripting: Uses the Image class to procedurally generate an ImageTexture on the CPU. This is suited for static textures only. This approach is more flexible than NoiseTexture2D, but is slower to generate textures. Once the texture is generated, rendering performance is identical to NoiseTexture2D. - Shaders: Uses a 2D shader on a ColorRect node that matches a Viewport's size with the resulting ViewportTexture applied to a material. This is updated on the GPU in real-time, and is most suited for animated textures. This approach can also be used for static textures, with a lower performance overhead since the texture doesn't need to be updated every frame. Language: GDScript Renderer: Forward+ |
This demo includes procedurally generated materials with 3 different techniques: - NoiseTexture2D: Built-in class that generates images on the CPU based on noise patterns (such as Simplex or Cellular). This is suited for static textures only. Texture generation is done asynchronously and is faster than using scripting, since the noise algorithms are implemented in C++ in the engine. - Scripting: Uses the Image class to procedurally generate an ImageTexture on the CPU. This is suited for static textures only. This approach is more flexible than NoiseTexture2D, but is slower to generate textures. Once the texture is generated, rendering performance is identical to NoiseTexture2D. - Shaders: Uses a 2D shader on a ColorRect node that matches a Viewport's size with the resulting ViewportTexture applied to a material. This is updated on the GPU in real-time, and is most suited for animated textures. This approach can also be used for static textures, with a lower performance overhead since the texture doesn't need to be updated every frame. Language: GDScript Renderer: Forward+ |
Category | Demos | Demos |
License | MIT | MIT |
Repository Provider | Custom | Custom |
Repository Url | https://github.com/godotengine/godot-demo-projects/tree/4.2-31d1c0c/3d/procedural_materials | https://github.com/godotengine/godot-demo-projects/tree/4.2-31d1c0c/3d/procedural_materials |
Issues Url | https://github.com/godotengine/godot-demo-projects/issues | https://github.com/godotengine/godot-demo-projects/issues |
Godot version | Godot 4.2 | Godot 4.2 |
Version String | 4.2-31d1c0c | 4.2-31d1c0c |
Download Commit | https://github.com/godotengine/godot-demo-projects/releases/download/4.2-31d1c0c/3d_procedural_materials.zip | https://github.com/godotengine/godot-demo-projects/releases/download/4.2-31d1c0c/3d_procedural_materials.zip |
Download Url (Computed) | https://github.com/godotengine/godot-demo-projects/releases/download/4.2-31d1c0c/3d_procedural_materials.zip | https://github.com/godotengine/godot-demo-projects/releases/download/4.2-31d1c0c/3d_procedural_materials.zip |
Icon Url |
https://raw.githubusercontent.com/godotengine/godot-demo-projects/4.2-31d1c0c/3d/procedural_materials/icon.webp
|
https://raw.githubusercontent.com/godotengine/godot-demo-projects/4.2-31d1c0c/3d/procedural_materials/icon.webp
|
Preview Insert | ||
---|---|---|
Type | image | |
Image/Video URL |
https://raw.githubusercontent.com/godotengine/godot-demo-projects/4.2-31d1c0c/3d/procedural_materials/screenshots/procedural_materials.webp
|
|
Thumbnail |
|