summaryrefslogtreecommitdiff
path: root/indra/newview/llvosky.cpp
AgeCommit message (Collapse)Author
2022-05-27Merge branch 'master' into DRTVWR-543-maintAndrey Lihatskiy
# Conflicts: # autobuild.xml # indra/cmake/LLCommon.cmake # indra/llcommon/CMakeLists.txt # indra/llrender/llgl.cpp # indra/newview/llappviewer.cpp # indra/newview/llface.cpp # indra/newview/llflexibleobject.cpp # indra/newview/llvovolume.cpp
2022-02-12Do not bit blast 0 into a non POD struct to zero it, rather use the default ↵Nicky
constructor. There is a few peculiar differences in default member initializationn namely: gamma > 1.0f; sun_norm > 0.0f, 1.0f, 0.0f, 1.0f; cloud_shadow > 1.0f; dome_radius > 1.0f; dome_offset > 1.0f Which probably made the original memset produce the wrong result anyway as it differs from the value the LLVOSky set (the default ctor of AtmosphericsVars) vs what the memset would produce in case of a force update (all 0s).
2022-01-14SL-16606: Add profiler category ENVIRONMENTPtolemy
2022-01-14SL-16606: Add profiler category DRAWABLEPtolemy
2021-10-29Fix merge conflictPtolemy
2021-10-28SL-16148 SL-16244 SL-16270 SL-16253 Remove most BlockTimers, remove ↵Dave Parks
LLMemTracked, introduce alignas, hook most/all reamining allocs, disable synchronous occlusion, and convert frequently accessed LLSingletons to LLSimpleton
2021-10-27SL-16127: Make another pass removing redundant LLSD op [] calls, unused ↵Ptolemy
vars, and use atmospheric already calculated
2021-10-21SL-16127: More cleanupPtolemy
2021-10-21SL-16127: Cleanup constsPtolemy
2021-10-21SL-16127: Fix bug in int() not calling getDistanceMultiplier(), calc() not ↵Ptolemy
calling getTotalDensity()
2021-10-21SL-16127: Use cached skyPtolemy
2021-10-21SL-16127: Cleanup indentation and whitespace to match coding stylePtolemy
2021-10-21SL-16127: Use cache psky when possiblePtolemy
2021-10-21SL-16127: Cleanup trailing whitespacePtolemy
2021-04-16SL-15096: Merge SovereignEngineer's fix for SL-14035 regressionPtolemy
2020-03-05SL-9775 FIXED EEP viewer crash when looking at the sun (which is playing ↵maxim_productengine
parcel media)
2020-02-25SL-12574 Cleanup inconsistent indentationPtolemy
2020-02-25SL-12574 Cleanup unused argumentPtolemy
2019-09-10Merge viewer-release 6.3.2Graham Linden
2019-09-03SL-11856 Backed out SL-11012AndreyL ProductEngine
changeset: 0d43d9754b79
2019-08-28Work around issue with friend ops not accepting default params on Clang.Graham Linden
2019-08-28SL-11776 [EEP] Reduced frequency of sky updates by comparing data fuzzilyandreykproductengine
2019-08-23Remove unused vars to appease Clang.Graham Linden
2019-08-22Best of both worlds for 11776.Graham Linden
2019-08-22SL-11776Graham Linden
Merge both solutions preserving the simpler of the two. Will revisit to catch the new code for timeslicing updates once it is debugged.
2019-08-22SL-11776 Fixed moon's comparison conditionandreykproductengine
2019-08-22SL-11776Graham Linden
Fix false alarming sky updates and doing expensive CPU work for same sky pixels.
2019-08-22SL-11776 Compensate freeze by spreading calculationsandreykproductengine
2019-08-12SL-10566, SL-10677Graham Linden
Make sky updates only occur if the input atmospherics values have actually changed (perf optimization). Make water rendering use specular color for coloring spec.
2019-08-12SL-11676Graham Linden
Make sun/moon textures render on Low/Low-Mid again. Fix solar additive being present when moon was only heavenly body in sky.
2019-07-16SL-11605Graham Linden
Fix broken throttling of sky/envmap updates.
2019-07-11Fix knock-on from touching the sky tex gen which also generated the shiny ↵Graham Linden
env map.
2019-07-10SL-11541 WIPGraham Linden
Make LLSettingsSky::gammaCorrect work like the soft scale clip and gamma correct from release. Add transmittance effects to the low-end sky tex gen.
2019-06-27SL-11151, SL-11504Graham Linden
Remove update threshold logic causing hiccups and rework sky updates. Make deferred water do double transport again to match non-ALM rendering more closely.
2019-05-21SL-11012 Ambient setting can be missing from llsdandreykproductengine
2019-05-13SL-10996Graham Linden
Restore old sun matrix gen code. Make sky use correct colorspace. Make sunlight color the CPU-generated WL color when not using atmo shaders or deferred (helps 11107).
2019-03-29Tweaked naming a bit, also white space.Geenz
Will wait for a response from @graham_linden regarding moving the sRGB conversion functions in llmath.h to llrender.
2019-03-29Gamma correction pass 2:Geenz
Make sure lights are in the correct color space. Bonus: cache the sRGB color in setLightColor on point and spot lights. Frees up a pow and some multiplies on the CPU every frame.
2019-03-29Fixing gamma correction in EEP Step 1:Geenz
Thou shall always read the sky cubemap as sRGB using hardware sampling.
2019-02-05SL-10443Graham Linden
Make fix which gets 10276 and 10443, but leaves the bizarre flip at the zenith so that the sun/moon textures are always upright w.r.t the viewer.
2019-01-31SL-10443Graham Linden
Fix sun/moon disc geo generation reversing the UVs of the images for same. Remove comment about voidwater when depth clamp is unavailable as it no longer applies.
2019-01-24SL-10276Graham Linden
SL-9851 Fix cloud shaders to ignore clouds when cloud_scale is 0. Fix creation of heavenly body geo to avoid degenerate vector math and not randomly flip orientation when crossing zenith. Add sun_up_factor to eliminate sun glow around moon when sun is down.
2019-01-03Fix two files stomped my merging VR before a downstream branch.Graham Linden
2018-11-15Merge 6ishGraham Linden
2017-11-29DRTVWR-418: Merge from latest viewer-releaseNat Goodspeed
2017-11-01MAINT-7228 Vertex buffer allocation failure handlingandreykproductengine
2016-04-22x64: Do not use a union of LLColor4U. Especially having the two pointer in ↵Nicky
there will blow up the struct to at least 8 byte, which will break VBO packing as this class needs to be 4 byte in size. (transplanted from 847df86d6b5daa69dcfc428df18876a9c1e8bef6)
2015-11-10remove execute permission from many files that should not have itOz Linden
2014-10-20Update to build on Xcode 6.0: Large (and final) collection of fixes for ↵callum_linden
unused variables, unused const-variables, unused member variables & functions etc. Also removed flags from CMake
2014-03-12merge with releaseRichard Linden