3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-13 20:27:49 +02:00
overte-lubosz/tools/samples/oneRedVoxel.hio
Sam Gateau 738369e21f Replacing glutSolidSphere by a cached Geometry
Instead of calling glutSolidSphere, just call Application::getInstance()->getGeometryCache()->renderSphere(...)

- replaced all the instances of "glutSolidSphere"
- Changed the atmosphere shaders so instead of drawing a sphere of the size of the atmosphere, we draw a unit sphere, the vertices get scaled at the right radius in th vertex shader using  fOuterRadius
2014-10-03 16:55:58 -07:00

6 B