summaryrefslogtreecommitdiff
path: root/indra/newview/llvosky.cpp
AgeCommit message (Collapse)Author
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-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
2013-10-25SH-3419 Replace per-object time dilation factor with region-wideAndrew Meadows
Reviewed with Simon
2013-10-15renamed TimeBlock to BlockTimerStatHandleRichard Linden
2013-09-05changed fast timer over to using macroRichard Linden
another attempt to move mem stat into base class
2013-07-30Summer cleaning - removed a lot of llcommon dependencies to speed up build timesRichard Linden
consolidated most indra-specific constants in llcommon under indra_constants.h fixed issues with operations on mixed unit types (implicit and explicit) made LL_INFOS() style macros variadic in order to subsume other logging methods such as ll_infos added optional tag output to error recorders
2013-06-05merge with viewer-releaseRichard Linden
2013-04-19merge changes for DRTVWR-294Oz Linden
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-08SH-3959 WIP - pass information about type of fetched image - server bake, ↵Brad Payne (Vir Linden)
host bake, map tile, etc - down the chain so LLTextureFetchWorker can adjust behavior as needed
2013-01-10gcc fixesAndrew Meadows
2012-09-04Split gl-specific LLViewerTexture implementation into llrender/LLGLViewerTextureDon Kjer
2012-06-19MAINT-794 Factor out a lot of CPU overhead around updating objects.Dave Parks
2012-01-30SH-2592 PROGRESS -- (OS X Lion) Graphics issues with Atmospheric Shaders ↵Leslie Linden
enabled on Intel HD 3000, 10.7.2 Refactored WindLight estate settings to use float uniforms in the shaders that only need it, rather than vec4's for everything.
2011-09-26SH-2244 changes to run in a core context on AMD hardware without generating ↵Dave Parks
deprecation or performance warnings
2011-09-23SH-2244 Better VAO support -- still slower than non-VAO implementation for ↵Dave Parks
some reason
2011-09-17SH-2243 work in progress -- gDEBugger guided removal of deprecated state changesDave Parks
2011-07-27SH-2120 Better fix for water being very dark when basic shaders disabled ↵Dave Parks
(sinA might be negative)
2011-07-27SH-2120 Fix for water being very dark when basic shaders disabled.Dave Parks
2011-06-22merge latest viewer-developmentOz Linden
2011-05-30SH-1682 Full integration if indexed texture rendering to improve batch size.Dave Parks
2011-05-23merge latest changes (post-2.7.0) from viewer-developmentOz Linden
2011-05-11SH-1533 Fix for skybox going black under certain conditions.Dave Parks
2011-03-31STORM-1126 mergeVadim ProductEngine
2011-03-03SH-1085 Fix for crash when unchecking "mirror." Basically got LLFace to be ↵Dave Parks
paranoid about who gets to touch its LLVertexBuffer members. Reviewed by Nyx.
2010-12-30STORM-955: VWR-24312: Massively duplicated objectsAleric Inglewood
Turns out that most of my SNOW-800 patch was included in Viewer 2 (albeit without crediting me). However, not everything was used and some more cleaning up was possible. After this patch, and when compiling with optimization, there are no duplicates left anymore that shouldn't be there in the first place. Apart from the debug stream iostream guard variable, there are several static variables with the same name (r, r1, r2, etc) but that indeed actually different symbol objects. Then there are a few constant POD arrays that are duplicated a hand full of times because they are accessed with a variable index (so optimizing them away is not possible). I left them like that (although defining those as extern as well would have been more consistent and not slower; in fact it would be faster theoretically because those arrays could share the same cache page then).