2
votes
Why does the G1 term have a 2 in the numerator in Walter's formula, but not in Heitz's generalized formula?
Actually I just had to solve the following equation to find a solution, consistent with the presence of the "2" in the numerator:
$\frac{1}{1+\Lambda (m)}=\frac{2}{1+\sqrt{1+\alpha ^{2}tan_{2}\theta_{...
1
vote
How to clip multiple tiled textures to polygon in Webgl / opengl
Quick idea:
render platforms color to screen quad
render mesh and platforms to screen quad, but as a mask. For example mesh is white, rest is black.
in another pass sample these textures and if mask ...
Only top scored, non community-wiki answers of a minimum length are eligible