M Terrain-v0.12.0 alpha
Pre-release
Pre-release
mohsenph69
released this
15 Apr 18:58
·
149 commits
to master
since this release
Grass Data per instance
The biggest update for this version is the grass data custom which you can send to grass! You can send these data to each instance of grass:
- You can send some random number unique for each grass instance, you can control this random number!
- You can send any image which you used in Terrain to grass, only a single color value depend on the position of the grass on terrain will be sended to grass
- You can also send the grass creation time which you can calculate the age of grass and create a growing effect for grass
This update is not about grass data there are more features and bug fixes
Other changes
- Now if you add an image in terrain data and you do not declare that in terrain Shader, that image will remain only on RAM memory, and you can read from that and use that in various things! (One use of that is to send that data to grass)
- Optimizing grass update in run-time
- Fixing the color paint issue
- This time the color which you paint will appear in the background of each layer in paint panel (only for color-brush and channel-painter)
- Detecting OpenGL or compatibility mode and changing the Shader code for that so it will work as you start a new-project (If you create a terrain with Vulkan and then change to OpenGL you need to fix the Shader code by yourself as some Shader code which works for Vulkan does not work for OpenGL)