Commit Graph

36 Commits (d4e9604700a1dbae3dbce58a3be0fda1465fd39c)

Author SHA1 Message Date
Ansariel 343aeeeb36 Merge remote-tracking branch 'LGPL/master'
# Conflicts:
#	doc/contributions.txt
#	indra/newview/skins/default/xui/de/panel_preferences_graphics1.xml
2024-05-16 02:11:51 +02:00
Andrey Lihatskiy 1b68f71348 #824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed 2024-04-29 07:56:09 +03:00
RunitaiLinden 2880e5ceee
#1139 Fix for world going black/white in some scenes (NaNs) (#1273)
* #1139 Fix for world going black/white in some scenes (NaNs)

NaNs were coming from normal encode/decode.  Take advantage of available gbuffer space to send full normal instead of encoding.

* #1139 Cleanup

remove now unused encodeNormF.glsl

* #1139 Remove final reference to encodeNormF

* #1139 Fix for getNormalEnvIntensityFlags referencing wrong sampler for env intensity

* Mac build fix
2024-04-19 11:59:28 -05:00
RunitaiLinden b2462355a3 #677 WIP -- add mirror clipping to more shaders 2024-02-01 13:19:20 -06:00
RunitaiLinden c827d32ebe SL-19655 Decruft legacy GLSL shaders and now unused build queues. 2023-05-17 18:09:36 -05:00
Dave Parks bb79718c8f SL-19538 Followup -- scrub all possible sources of NaNs, make dynamic exposure controls not persist, limit exposure range, and do a debug gl pass. 2023-04-06 13:21:25 -05:00
Ptolemy 77b96114c3 SL-17274 Cleanup hard-coded gbuffer atmos flag for softenlight 2022-06-21 22:00:12 -07:00
Graham Linden graham@lindenlab.com 98b2fed85f De-duplicate shader code for encoding and decoding normals to/from gbuffer format. 2018-03-12 17:52:04 +01:00
Graham Linden graham@lindenlab.com b2d8d63890 Fix warnings from shaders and include EXTRA_CODE_HERE sentinel in places using DEFINE_GL_FRAGCOLOR for consistency. 2018-03-09 20:59:18 +00:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Graham Madarasz fd447189c5 Merge 3.5.1 into Materials 2013-04-25 21:00:16 -07:00
Geenz 27fbf5efc9 Re-added RGB10_A2 normal buffer, this time encoded with a sphere map transform so we can store the environment intensity in the blue channel. 2013-04-09 11:46:52 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Dave Parks c107afcb1e NORSPEC-57, NORSPEC-58 Remove sRGB and gamma correction from shaders to remove banding and not break all shiny objects. 2013-03-26 16:23:49 -05:00
Geenz aae698ff0c Merged with latest viewer-dev-materials. 2013-02-04 11:55:04 -05:00
Geenz 0a0d1df6bf Merge 2012-06-13 20:49:35 -04:00
Jonathan Goodman 2716e38d42 Encode viewspace Z normal to preserve negative Z (fixes all light shifting errors, and shiny environment map errors due to lack of negative Z) 2012-05-10 16:28:07 -04:00
Dave Parks 4f18f9d6bd SH-2908 More complete GLSL 1.20 compatibility pass. 2012-02-14 16:11:30 -06:00
Dave Parks 3710c6110d SH-2908 Rework indexed texture rendering to use a uvec4 instead of a float for texture indices in the data stream. Also rework gl_FragColor overrides to not collide with some odd driver implementations. 2012-02-10 20:04:19 -06:00
Dave Parks 004cc9107b SH-2240 Fix for OSX GLSL compiler not liking #ifndef gl_FragData 2011-10-21 15:51:49 -05:00
Dave Parks 8a1baaea6c SH-2243 work in progress -- don't use gl_FragColor or gl_FragData for outputs -- no more deprecation warnings on nvidia 2011-09-16 17:08:39 -05:00
Dave Parks da84f55527 SH-2243 work in progress -- don't use deprecated shader state 2011-09-16 12:40:53 -05:00
Oz Linden bf4abf7f4f add proper copyright and license headers 2011-08-17 13:29:30 -04:00
Dave Parks ece32418e7 SH-1682 Dynamically adjust the number of texture channels to use for indexed texture rendering based on available hardware. 2011-05-31 14:35:59 -05:00
Dave Parks 1fd46831f0 SH-1682 Work in progress on using texture indexes to improve batch size (wow, super fast so far) 2011-05-29 00:40:57 -05:00
Dave Parks 21b1b91c44 ATI compatibility pass 2010-10-06 12:53:26 -05:00
Oz Linden b81d5d9285 pull internationalization fixes from faulty split 2010-08-30 22:58:56 -04:00
Nat Goodspeed 598781af08 Update GLSL shader sources to current $LicenseInfo$ standard.
See https://wiki.lindenlab.com/wiki/License_Substitution for details.
2010-08-24 20:21:44 -04:00
Tofu Linden e416840f85 Backed out changeset c3d41f18ce2b
back-out the back-out for this branch.  yay.
2010-08-24 19:22:00 +01:00
Tofu Linden 98cc236503 Backed out changeset a62bf7c0af21
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24 18:44:39 +01:00
Tofu Linden 12d3ba4bae Rejig deferred normal-map packing a little, to double its accuracy for free. 2010-05-09 15:02:10 +01:00
Tofu Linden 35c75080dd more tweakery for EXT-7149 objects with white color and varied texture do not appear shiny with deferred rendering 2010-04-30 10:40:27 +01:00
Tofu Linden db6bb438ae EXT-7149 objects with white color and varied texture do not appear shiny with deferred rendering 2010-04-30 09:45:44 +01:00
David Parks 536e38ad51 Merging render-pipeline-6-qa-2 into viewer-2
Self reviewed.
2009-09-22 11:11:45 +00:00
Brad Kittenbrink abdc99f21b Merge of QAR-1267 to trunk. This was a combo merge of QAR-1175 (maint-render-9) and QAR-1236 (dll-msvcrt-2)
svn merge -r 109838:112264 svn+ssh://svn.lindenlab.com/svn/linden/branches/maint-render/maint-render-9-merge-r109833
2009-02-18 21:10:16 +00:00
Steven Bennetts 6fcf38217e merge release@82858 maint-render-2-merge@83010 -> release
QAR-389
2008-03-25 22:50:26 +00:00