Expose Terrain Methods/Properties
tracked
P
Pint
It would be useful if we could get Terrain methods in Udon. Specifically, methods and properties in https://docs.unity3d.com/ScriptReference/TerrainData.html and https://docs.unity3d.com/ScriptReference/DetailPrototype.html .
Log In
Kyrowo
It would be great if udon exposed terrains GetSplatMaterialPropertyBlock as well, since it's necessary to make runtime baked lightmap changes to the terrain.
Exposing this method would allow us to bake seperate lightmaps and have a working day/night cycle with awesome visual fidelity and performance for terrains.
As of right now, it's only possible to change baked lighting of Mesh Renderers.
This post was marked as
tracked
るーにゃ@xlwnya
Some terrain shaders (the ones sold in the assetstore) require textures in terrainData.
So, these methods are useful to make these shaders work in VRChat.
BocuD
I actually
really
need this feature, or at least lightmap scale / offset if thats possible.. Just bumping this with a comment