Skip to main content
2 votes
Accepted

Last hole artifact in screen space refection with Hierarchical Z

After some refinements I have found the solution (see picture). The vertical holes were due to the line "return ColorOut" just after the refinemax loop. This line must be removed to let the ...
philB's user avatar
  • 139
1 vote
Accepted

What transformations are performed under model space?

Model space is the name of the space you are in before you have applied any of S, R, or T. ...
DMGregory's user avatar
  • 135k
1 vote
Accepted

Convert Global Space 3D Location to Local object space?

You'll have to unpeel the transformations applied to B one by one, in reverse order. Typically we'll apply transformations in the sequence... Scale Euler Roll Euler Pitch Euler Yaw Translate So ...
DMGregory's user avatar
  • 135k
1 vote

View Space From gl_FragCoord

The problem was that I had used the clip plane depths where I should have used the near and far values as passed to glDepthRange, which I now know are 0 and 1 by default. So, since I use these ...
cageyo's user avatar
  • 11
1 vote

Are there any disadvantages of using Distance Squared checks rather than Distance?

Using distance squared is almost always just fine and good for performance. The following considerations are important: If you want to think about the sum of a number of distances, distance squared ...
lmat - Reinstate Monica's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible