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
    Commented May 17, 2017 at 22:21
  • $\begingroup$ Screenshots of the problem would have made this much easier to answer by more people FYI! $\endgroup$
    – Alan Wolfe
    Commented May 19, 2017 at 21:15

1 Answer 1

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 and acknowledge you have read our privacy policy.