mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-26 15:45:41 +00:00
8dda8e9105
Polygons have a line of sight value that's either a 0 or 1. We write this value into the stencil buffer, then read the app can read it back to determine the polygon attribute is visible or not. The returned value is 1/depth value in world coordinates. The first bit of the float is actually a control bit, 1 indicates no geometry hit, 0 indicates geometry hit. |
||
---|---|---|
.. | ||
GLSLShader.cpp | ||
GLSLShader.h | ||
Mat4.cpp | ||
Mat4.h | ||
Model.cpp | ||
Model.h | ||
New3D.cpp | ||
New3D.h | ||
Plane.h | ||
PolyHeader.cpp | ||
PolyHeader.h | ||
R3DData.h | ||
R3DFloat.cpp | ||
R3DFloat.h | ||
R3DFrameBuffers.cpp | ||
R3DFrameBuffers.h | ||
R3DScrollFog.cpp | ||
R3DScrollFog.h | ||
R3DShader.cpp | ||
R3DShader.h | ||
R3DShaderCommon.h | ||
R3DShaderQuads.h | ||
R3DShaderTriangles.h | ||
VBO.cpp | ||
VBO.h | ||
Vec.cpp | ||
Vec.h |