Merge branch 'zan/cloudsort' into next
This commit is contained in:
commit
b6d8e1f842
@ -132,7 +132,8 @@ bool SGCloudField::reposition( const SGVec3f& p, const SGVec3f& up, double lon,
|
|||||||
field_transform->setMatrix( LAT*LON*T );
|
field_transform->setMatrix( LAT*LON*T );
|
||||||
}
|
}
|
||||||
|
|
||||||
field_root->getStateSet()->setRenderBinDetails(asl, "DepthSortedBin");
|
// Render the clouds in order from farthest away layer to nearest one.
|
||||||
|
field_root->getStateSet()->setRenderBinDetails(CLOUDS_BIN, "DepthSortedBin");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user