andrew-pa / libqeg

cross platform graphics API (and game engine?)
1 stars 0 forks source link

render targets + sky dome + opengl #13

Open andrew-pa opened 10 years ago

andrew-pa commented 10 years ago

Render Target only shows the sky dome in OpenGL. Seems to be the sky rasterizer state because when that is disabled, it rendered fine, but the skydome doesn't work

andrew-pa commented 10 years ago

Seems like the skydome works in both if rendered before everything, but it is then inefficient because it can't take advantage of early Z testing

andrew-pa commented 10 years ago

'fixed' this by moving skydome rendering to the beginning, where it always works, and also makes blending correct