justin.ead Posted April 12, 2017 Share Posted April 12, 2017 \data\core\shaders\billboards\fragment\impostor\deferred.frag This file is generating a console error regarding the undefined gbuffer variable here whenever the billboards_impostors_base material is used. In sample.h, the appropriate variable was actually defined as gbufferSpecular. Changing the name solves this issue. On another note, there's also no state defined in the stock material to toggle the NORMAL_SCREEN_ALIGNMENT define. The behavior I would've expected to see from the SetNormal() function was that the face of the billboard would point in the direction the normal was set to. That's not what I was actually seeing. At best, it appeared to rotate around the axis set by that function. Perhaps that's the intended functionality though. It also doesn't appear to render with alpha blend transparency on. Link to comment
silent Posted May 12, 2017 Share Posted May 12, 2017 Hi Justin, This bug is fixed. Bugfix will be available in the upcoming SDK update. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts