TGOpenGLEngine

DrawCubeByDepthShader

image

Render Plant Model with Point Lights

image

Use Stencil Test Draw Cube Outline

image

Use Face Cull and Blend To Draw a Plant in the Box

image

Render Translucent Windows

image

Render SkyBox and the Cube

image

Use FrameBuffer And do Postprocess

image

Create Deferred Render Pipeline To Draw 100 Point lights

image

Optimize To Draw 1000 Different Type Lights in One Scene

image