• This function is in Lite-C.
  • It is developped to work within Emre contribution, but as I needed to clearly see the vegetation distribution, I use a specific main file ("test.c") very simplified (whithout D3D functions)
  • I have no problem by testing from SED -> test.c -> run test with current file
  • The only error message I get is when I try it from WED -> run
  • No problem when using it in my own project (Loopix based)
  • There is no shader used in the function itself, only lite-c script

From there, I can't help you more, sorry, but I can give you my full test project sources here (6.6 Mo):
Test vegetation + density


Commercial A7.25b
RUGod