Deferred has sky and water textures now. Underwater is still borked.
Deferred fastalpha behaves a bit better. Pulled over patch for https://jira.secondlife.com/browse/STORM-336 and https://jira.secondlife.com/browse/STORM-1011 from linden repo Sky rendered using new LL method. Assuming this fixes issues on AMD cards(works on cat 11.2) Added a few things missed related to spatial-parition updating. Added 'SkipReflectOcclusionUpdates' setting that prevents occlusion updates for reflection pass. Less taxing on CPU.
This commit is contained in:
@@ -315,7 +315,7 @@ void LLWLParamManager::propagateParameters(void)
|
||||
{
|
||||
mLightDir = sunDir;
|
||||
}
|
||||
else if(sunDir.mV[1] < 0 && sunDir.mV[1] > NIGHTTIME_ELEVATION_COS)
|
||||
else if(sunDir.mV[1] < 0 && sunDir.mV[1] > LLSky::NIGHTTIME_ELEVATION_COS)
|
||||
{
|
||||
// clamp v1 to 0 so sun never points up and causes weirdness on some machines
|
||||
LLVector3 vec(sunDir.mV[0], sunDir.mV[1], sunDir.mV[2]);
|
||||
|
||||
Reference in New Issue
Block a user