|
|
|
@ -159,7 +159,7 @@ void CGlowOverlay::UpdateSkyGlowObstruction( float zFar, bool bCacheFullSceneSta
@@ -159,7 +159,7 @@ void CGlowOverlay::UpdateSkyGlowObstruction( float zFar, bool bCacheFullSceneSta
|
|
|
|
|
if ( PixelVisibility_IsAvailable() ) |
|
|
|
|
{ |
|
|
|
|
// Trace a ray at the object.
|
|
|
|
|
Vector pos = CurrentViewOrigin() + m_vDirection * zFar * 0.999f; |
|
|
|
|
Vector pos = CurrentViewOrigin() + m_vDirection * zFar * 0.99f; //9f;
|
|
|
|
|
|
|
|
|
|
// UNDONE: Can probably do only the pixelvis query in this case if you can figure out where
|
|
|
|
|
// to put it - or save the position of this trace
|
|
|
|
|