 |
I'm looking for new technology and new techniques to render Marathon levels.
Would an AI know the best and fastest way to render Marathon?
There was the stencil buffer and fragment shaders for full pixel control, but using triangle clipping was the best way, I think.
My theory is you could get an AI to tell you how to render like Marathon using the stencil buffer somehow.
The problem with the stencil buffer is it was limited to only 0 to 255 integers hiding geometry and the portals needed to be clipped somehow because the portals needed to be hidden too.
The fragment shader had a problem using mathematical planes because the plane was in the geometry and it clipped pixels in walls that the plane was intersecting.
I used a fragment shader for pixel control in world space, but why not screen space?
|