2
$\begingroup$

When drawing billboards to a cubemap, the billboard texture was incorrectly aligned on the boundaries of the cubemap between different sides.

My guess is that the false projection of the billboard texture shape using the perspective cameras when drawing the cubemap caused this.

My question is that without using a geometry with dimensions (such as using a plane geometry for the billboard texture to attach) to achieve the correct projection, is there any other methods to reduce the artifacts? e.g. process on the pointCoord?

cubemap problem

a screen record showing the matter

$\endgroup$
2
  • $\begingroup$ More about the context: I need to use the billboards in points mode. So a billboard is attached in screen space from a single vertex position. $\endgroup$ – user4613 May 17 '17 at 22:21
  • $\begingroup$ Screenshots of the problem would have made this much easier to answer by more people FYI! $\endgroup$ – Alan Wolfe May 19 '17 at 21:15
3
$\begingroup$

Change the projection to always be the same no matter which face is being rendered.

The simplest way is you use the direction from billboard to the camera instead of the direction the camera is facing to rotate the billboard.

$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy