Rob Posted February 6, 2012 Share Posted February 6, 2012 Hello, Ive been working on a terrain in World-machine 2 and imported it successfully into Unigine but now I ran into a problem The detail materials seem to strecth on very steep surfaces, I did check the triplanar projection option for all surfaces on the surfaces tab but the problem is still there I also tried to paint the detail materials after I enabled triplanar projection but this doesnt seem to do anything, when painting even the brush is being stretched across the steep parts of the surface Am I doing something wrong here? Or is the triplanar projection not working for some reason? I have attached a screenshot which clearly shows the stretching issue Link to comment
frustum Posted February 6, 2012 Share Posted February 6, 2012 It was a bug in the terrain material file. Copy attached file into the "data/core/materials/default/" directory. unigine_terrain.mat Link to comment
Rob Posted February 6, 2012 Author Share Posted February 6, 2012 It was a bug in the terrain material file. Copy attached file into the "data/core/materials/default/" directory. I tried replacing the file but noticed that my terain material is called unigine_terrains.mat, I renamed the file you uploaded and replaced my mat file witht hat but then it wont show terrains anymore did I miss an update somewhere? Link to comment
manguste Posted February 14, 2012 Share Posted February 14, 2012 You'll have to wait for the SDK update ;) Link to comment
alexei.garbuzenko Posted February 14, 2012 Share Posted February 14, 2012 replace 'terrain/' to 'terrains/' strings inside the .mat file. I can attach modified file if needed. Link to comment
philipp.marcks Posted February 23, 2012 Share Posted February 23, 2012 replace 'terrain/' to 'terrains/' strings inside the .mat file. hi! - unfortunately doesn't work for me :) - after pasting and modifying file, terrain is not visible. Link to comment
philipp.marcks Posted February 23, 2012 Share Posted February 23, 2012 hi! - unfortunately doesn't work for me :( - after pasting and modifying file, terrain is not visible. i must apologize! :) - retried and all works fine! - nice! - ty! Link to comment
Rob Posted February 24, 2012 Author Share Posted February 24, 2012 Thanks to the tips above I got this new terrain file to work, but my framerate is much lower with the new file I get a framerate around 105 while with the old file its 135, anyone know what could be causing this? **EDIT** Already found out that its the triplanar mapping thats causing it Made sure that only a few surfaces of the terrain that need triplanar mapping got it enabled, but as soon as I get close to one of these my framerate drops Can I somehow optimize this? Link to comment
manguste Posted March 1, 2012 Share Posted March 1, 2012 Triplanar mapping was optimized in the SDK that was released a couple of days ago, give it a try. Link to comment
Rob Posted March 1, 2012 Author Share Posted March 1, 2012 Triplanar mapping was optimized in the SDK that was released a couple of days ago, give it a try. Ye I gave it a go and my framerate is back to normal again! Good work Unigine devs! Link to comment
Recommended Posts