Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/curly-brace/godot-simplex
Godot 3.0 Simplex Shaders
https://github.com/curly-brace/godot-simplex
godot godot-engine godot-game-engine godot-shader godotengine shader-effects shaders
Last synced: 4 months ago
JSON representation
Godot 3.0 Simplex Shaders
- Host: GitHub
- URL: https://github.com/curly-brace/godot-simplex
- Owner: curly-brace
- License: mit
- Created: 2017-08-21T08:15:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-15T04:23:47.000Z (over 7 years ago)
- Last Synced: 2024-09-23T13:02:41.922Z (4 months ago)
- Topics: godot, godot-engine, godot-game-engine, godot-shader, godotengine, shader-effects, shaders
- Language: GDScript
- Homepage:
- Size: 595 KB
- Stars: 14
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simplex Noise Shaders For Godot Engine 3.0
In test_3d scene there were artifacts in sampled values (but Sprite itself was fine tho), like inverted steps. Fixed this by setting Viewport to 3d mode (!). Now everything works (but not as easy as expected).
Actually i've came with temp solution. To use simplex for your needs, you have to assign viewport's texture first to another Spite and then sample ITS texture for values. So test_3d scene shows how to use simplex to create a field with MultiMeshInstance (that is a bunch of cubes actually, unlike a plane, distorted by vertex shader)
WARNING!!! test_3d scene does not work due to the current bugs with ViewportTexture (i think so). And i have no idea how to sample Sprite node in different way.
2dsimplex.tres - is a 2d simplex shader (canvas_item), i was going to use as a fast simplex generator using a Sprite node and sampling it for different tasks like terrain generation.
vert_simplex.tres - is a 3d simplex (spatial) which uses vertex shader to transform vertexes of the mesh depending on 3d simplex noise function (up is animated using TIME)
[![screenshot3](/screen3.png)](https://godotengine.org)
[![screenshot1](/screen1.png)](https://godotengine.org)
[![screenshot2](/screen2.png)](https://godotengine.org)