ulf.schroeter Posted July 25, 2012 Share Posted July 25, 2012 Problem On application start we encounter rendering artifacts for the very first rendered frame (left side), while all following frames (right side) render correctly. There seems to be some problems with initial material/shader assignments or blending modes. The globe does not render opaque, but seems to render transparent in the first frame. We also use a modified billboards_base material vertex shader without support for billboards rotation (we re-use rotation parameter for time-based billboard instance clipping within vertex shader), but there is billboard rotation visible in the first frame -> conclusion: our shader is not used in the first frame. And finally of course there seems to be some overall additive blending active leading to visible white color saturation. Any idea on the cause or how to fix it ? Link to comment
frustum Posted July 27, 2012 Share Posted July 27, 2012 The globe does not render opaque, but seems to render transparent in the first frame. Maybe that's because meshes are not loaded during deferred or ambient rendering passes. Try to set render_manager_load_meshes console variable to 1. our shader is not used in the first frame. That's very strange. Could you provide a sample please? Link to comment
ulf.schroeter Posted July 27, 2012 Author Share Posted July 27, 2012 Maybe that's because meshes are not loaded during deferred or ambient rendering passes. Try to set render_manager_load_meshes console variable to 1. nope, complete resource pre-loading already set 18:06:05 Unigine~# render_manager_warm_shaders 1 18:06:05 Unigine~# render_manager_load_meshes 1 18:06:05 Unigine~# render_manager_load_textures 1 18:06:05 Unigine~# world_load rde 18:06:06 Loading "rde.cpp" 134ms 18:06:06 Loading "rde/materials/rde_base.mat" 3 materials 656 shaders 3ms 18:06:06 Loading "rde/materials/rde.mat" 5 materials 58ms 18:06:07 Loading "rde.world" 1034ms Link to comment
frustum Posted July 31, 2012 Share Posted July 31, 2012 Can you provide a sample please? Link to comment
ulf.schroeter Posted July 31, 2012 Author Share Posted July 31, 2012 Hi frustum, will try to, at the moment unfortunately quite busy with other things Link to comment
Recommended Posts