Include ellipsoid.hglsl as an include file for use in ellipsoidal mapping.

This commit is contained in:
Kalle Bladin
2016-05-03 16:26:00 -04:00
parent 6f4e39cc7d
commit a3221dd5e7
6 changed files with 89 additions and 61 deletions
@@ -85,13 +85,9 @@ namespace openspace {
void ClipMapGlobe::render(const RenderData& data)
{
// TODO : Choose the max depth and the min depth depending on the camera
int minDepth, maxDepth;
calculateDesiredMinAndMaxDepth(data, minDepth, maxDepth);
LDEBUG(minDepth, "minDepth = ");
LDEBUG(maxDepth, "MaxDepth = ");
// render patches
for (size_t i = minDepth; i < maxDepth; i++)
{