Archived

This topic is now archived and is closed to further replies.

Winter

Skybox rendering

Recommended Posts

Winter    122
Could anybody please tell me, why skybox rendering slows things down so much? It eats out approximately 15 fps while there are only 6 additional quads to render!!!

Share this post


Link to post
Share on other sites
DeltaVee    138
Well, the texture is being rendered across the whole of the screen.

Try reducing the color bit count or even try a compressed texture (if your card supports it).

D.V.

Share this post


Link to post
Share on other sites
Winter    122
Great thanks, DeltaVee. Fps are still > 50 even with the skybox rendering, so it was only the problem of understanding whether I''m doing something wrong

Share this post


Link to post
Share on other sites
zedzeek    529
skyboxes use a lot of filrate either
A/ at the start of the frame dont clear screen + draw skybox (also applicable with depth)
B/ at the end of the frame, enable depth testing, draw the skybox

A is usaully faster on older cards, B is faster on newer.
of course it also depends on how much sky is showing in the final picture

Share this post


Link to post
Share on other sites