Jump to content

[SOLVED] Errors with billboard impostors


photo

Recommended Posts

\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
  • 5 weeks later...
×
×
  • Create New...