Jump to content

Terrain&Shader


photo

Recommended Posts

I have some questions about the Unigin.

1) http://wacki.me/blog/2017/01/dynamic-snow-sand-shader-for-unity/
The content of this web page is a description of the features implemented in Unity3D.
I need the same features for our project. 
So I would like to know Unigin 2.6.1 provides similar functionality.

2) And how can I use this features in teraain, if Unigin 2.6.1 includes this functions.

3) Finally, please let me know how to apply shader to teraain in Unigine.

Link to comment

Hi qwsxzaq,

Dynamic snow is interesting challenge in realtime rendering :) The link you shared is clearly stated that:

  1. Not compatible with terrain
  2. Working in sub-optimal way
  3. Accrding to comments - not working in new Unity project (can't test that though)

So, based on this info, I guess it will be better to create a separate shader (written on UUSL or HLSL/GLSL) that will do some magic with regular meshes and use these meshes on top of the terrain. UNIGINE's ObjectTerrain / ObjectTerrainGlobal shaders are too complex, so these modifications to already existing material can cause a performance drop.

Out of the box we don't have such functionality, so you have to write it on your own. You can also refer to the older posts about dynamic snow here: https://developer.unigine.com/forum/topic/3078-how-to-simulate-snow-plowing/

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...