Nicky
e982c273fd
Merge with viewer-release-vlc
2016-05-29 19:27:00 +02:00
callum_linden
05fcb7c812
Automated merge with tip of viewer-release
2016-05-23 16:50:56 -07:00
ruslantproductengine
1b5af4be29
Add invert texture coordinates for media textures.
2016-05-13 18:47:23 +03:00
Ansariel
63c895fe62
Merge viewer-quickgraphics
2016-03-10 08:50:20 +01:00
Ansariel
3192fe832f
Merge viewer-quickgraphics
2016-03-08 01:41:31 +01:00
Oz Linden
511bf30a2e
make shader loading messages LL_DEBUGS
2016-03-07 15:40:39 -05:00
Oz Linden
c8726aba30
remove execute permission from many files that should not have it
2015-11-10 09:48:56 -05:00
Oz Linden
b66c719060
merge changes for 3.7.20-release
2014-11-10 14:43:05 -05:00
Liny
1ee6b83b10
Proper fix for intel shder compiler log spam.
2015-02-26 09:58:34 -08:00
Liny
37d47ffbf0
Fix intel GLSL compiler spitting out "No errors." instead of an empty string like others do when there are no errors, causing log spam.
2015-02-25 23:54:22 -08:00
Ansariel
99cbf150a0
Merge LL V3.7.21
2015-01-15 13:55:17 +01:00
Ansariel
992ebe2c63
Remove Nicky's AMD fix - will be replaced by the V3 version
2015-01-15 13:16:21 +01:00
Tank_Master
93c0ece928
Merge LL v3.7.20
2015-01-15 01:17:02 -08:00
Oz Linden
7ffa456683
STORM-2080: correct fitted mesh rendering on some ATI cards
2014-10-14 11:22:39 -04:00
Dave Parks
d0428575fb
Automated merge with http://bitbucket.org/lindenlab/viewer-release
2014-06-19 13:14:42 -05:00
Dave Parks
24f8745914
MAINT-3131 Use benchmark to determine GPU class instead of GPU table.
2014-03-19 17:57:00 -05:00
Tank_Master
6babf8abd2
Merge LL 3.7.7
2014-06-09 11:29:57 -07:00
Nicky
72faa660f7
Remove old AMD/ATI fix for pink. It is for driver that predate 2009-12, with something as old as that, there will be a lot more issues than just pink textures.
2014-04-06 18:22:28 +02:00
Nicky
c2fbeae724
FIRE-12968/FIRE-12929; Fix crash for AMD driver and random rendering artifacts.
2014-03-10 00:00:49 +01:00
Richard Linden
5866bb7ef0
merge with release
2014-02-12 10:32:02 -08:00
Tank_Master
7b2cc02863
Merge LL fitted mesh
2014-02-06 00:41:33 -08:00
Dave Parks
ff8b002c3b
Quite down log spam from loading shaders.
...
Up bone cap to 64 for rigged meshes.
2013-10-10 13:56:06 -05:00
Richard Linden
80dfbbaacd
merge from viewer-release
2013-10-08 11:59:24 -07:00
Richard Linden
59628d6f85
Automated merge with http://bitbucket.org/lindenlab/viewer-release
2013-10-01 14:28:39 -07:00
Graham Linden
95e34d86b9
The unbearable lightness of being norspec
2013-09-18 18:24:16 -07:00
Richard Linden
e340009fc5
second phase summer cleaning
...
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
Graham Madarasz (Graham Linden)
f86a7c04d3
NORSPEC-314 rollback unified srgb shader code to see if we can get past Mac 10.6.8 nV driver issues
2013-07-30 11:33:58 -07:00
Graham Madarasz (Graham Linden)
b44e7303d8
NORSPEC-314 WIP fix srgb_mac use and issues found with RenderDebugGL on Mac
2013-07-29 18:59:45 -07:00
Graham Linden
f357269c38
NORSPEC-325 WIP restore gamma (uncorrected) attenuation and unify sRGB conversion in one place
2013-07-25 09:36:13 -07:00
Graham Linden
e290dd3fa1
NORSPEC-311 make post deferred (alpha objects) respect same gamma ramp as deferred (opaque objects)
2013-07-24 04:03:27 -07:00
Dave Parks
79029149a4
Automated merge with file:///F:%5Cviewer-bear
2013-06-21 12:51:29 -05:00
Dave Parks
c3f14b915c
NORSPEC-229 Fix for bad binormals on mirrored surfaces (use tangent calculator instead of binormal calculator, convert binormal centric code to tangent centric)
2013-06-03 12:50:48 -05:00
Dave Parks
743d1a777e
NORSPEC-198, NORSPEC-176, NORSPEC-106, NORSPEC-202 et al -- Material matrix testing based overhaul WIP
...
Reviewed by Graham
2013-05-29 18:48:09 -05:00
Dave Parks
933d4c40f4
NORSPEC-198, NORSPEC-176, NORSPEC-106 WIP Fix for various fullbright/shiny descrepencies.
2013-05-23 12:47:52 -05:00
simon
b864cecd6c
De-bork the viewer merge, causing black in-world images. Reviewed by Kelly
2013-05-13 16:34:52 -07:00
simon
ee2fce8790
Merge downstream code and viewer-beta
2013-05-09 14:10:45 -07:00
Graham Madarasz
025c890958
Merge vwr-dev-mat
2013-05-01 08:11:15 -07:00
Graham Madarasz
806d09b114
Merge 3.5.1 into Materials
2013-04-30 19:50:05 -07:00
Graham Madarasz
1688e995eb
Provide LLGLSLShader backwards compat so as not to break the appearance utility
2013-04-26 09:11:52 -07:00
Graham Madarasz
fd447189c5
Merge 3.5.1 into Materials
2013-04-25 21:00:16 -07:00
Geenz
cfc3757778
First pass on alpha blended materials
2013-04-11 14:57:11 -04:00
Graham Madarasz
bf6182daa8
Update Mac and Windows breakpad builds to latest
2013-03-29 07:50:08 -07:00
Dave Parks
609ed855e1
MAINT-2371 More optimizations.
...
Reviewed by Graham
2013-03-04 18:01:42 -06:00
Geenz
2ae4b6976b
Added a new draw pool specifically for faces with materials applied to them. Removed materials rendering from the bump draw pool, and reverted it to its previous state.
2013-02-04 11:32:05 -05:00
Geenz
aa1befd689
Specular map support. This is the vast majority of the material parameters implemented at this point for opaque geometry.
2013-01-30 12:17:04 -05:00
Geenz
5f03e197f4
Trying to set materials up for rendering! Yay!
2013-01-25 17:54:38 -05:00
Tank_Master
e551fc5137
Merge LGPL
2013-09-29 20:35:40 -07:00
Tank_Master
9810792665
Back out Intel HD 4000 fixes to thoroughly test the latest driver with OGL 4.2 support
...
This driver seems to have fixed the rendering issues.
2013-09-29 16:14:57 -07:00
Tank_Master
119ce81029
Merge viewer bear updates + merge fixes
2013-09-23 22:10:59 -07:00
Tank_Master
0c314a0e6f
Merge LGPL
2013-09-21 16:59:50 -07:00
Tank_Master
05ad3a1c29
Merge Viewer-bear (merge of materials + fixes) to FS-exp
2013-09-21 11:44:46 -07:00
Tank_Master
5519c39beb
Merge Viewer-bear (Materials 3.6.6 RC)
2013-09-16 16:18:33 -07:00
Tank_Master
52d9b07503
Merge viewer-bear
2013-09-12 21:15:34 -07:00
Ansariel
1c481f82be
Update SSR from Tofu Buzzard with latest version from https://bitbucket.org/tofu_linden/screen-space-reflections2
2013-07-11 16:24:19 +02:00
Tank_Master
718f6fa0ff
merge LL 3.6.1
2013-07-10 00:23:23 -07:00
Tank_Master
d4640277d0
Merge LL 3.5.3 release.
2013-07-09 16:24:58 -07:00
Geenz
eda11a25a4
Initial (largely complete) gamma correct rendering implementation.
2013-01-11 06:37:21 -05:00
Jonathan Goodman
d5b45b0b63
Use an unordered map for custom #defines instead of a map. Lookups are faster, and we don't really care about any particular order anyways for these.
2012-08-29 08:02:46 -04:00
Jonathan Goodman
c911efb953
Just pass in an empty preprocessor definition map from now on. The shader compiler won't add new #defines if it's empty.
2012-08-29 03:41:26 -04:00
Jonathan Goodman
ed1b78e322
Added support for adding custom preprocessor definitions (for shader permutations)
2012-08-28 10:33:32 -04:00
Ansariel
591957ce34
Re-applied Tofu Buzzard's SSR with faster SSAO; Option to disable feature from NiranV Dean
2013-02-20 23:23:06 +01:00
Ansariel
7e528a0bb0
Backed out changeset: a5e3c6daa768
2013-02-20 22:17:45 +01:00
Ansariel
046d0818d7
Updated DoF, SSAO from Tofu Buzzard and added SSR and Macro Dapple, also from Tofu Buzzard
2013-02-20 18:40:37 +01:00
Cinders
792380c5bf
Add post processing chain and vignette effect adapted from Exodus Viewer. Original code by Geenz Spad.
2013-02-19 22:58:03 -07:00
Tank_Master
65e5034f00
Backed out changeset: 2006c64a371f (Simple Shader fails to link with this)
2013-02-08 01:04:30 -08:00
Nicky
c8698aaf0f
Reapply pink fix.
2013-02-08 00:08:29 +01:00
Tank_Master
20544f5421
potential fix for FIRE-8942, FIRE-8987, FIRE-9001, FIRE-9004 (deferred selection issues and rendering issues on ATI cards)
2013-01-31 00:45:30 -08:00
Tank_Master
001a07a33c
disable reusing already loaded shaders for testing some issues when changing settings
2013-01-22 11:42:02 -08:00
Tonya Souther
828cb2cc5a
Fix shader link failures on 64-bit Linux with ATI and maximum texture index > 1.
2013-01-17 18:04:43 -06:00
Tank_Master
51d295c16f
restore Nicky's anti-pink texture patch
2013-01-03 17:09:37 -08:00
Tank_Master
1762586923
Merge LL 3.4.4 beta 1, but left tcmalloc enabled.
2012-12-21 01:14:38 -08:00
Nicky
ceea332a9c
Change old style comments <ND> to <FS:ND> to avoid any future confusion/
2012-12-16 05:19:32 +01:00
Nicky
a55499be93
Merge ATI fix from 4.3.1 branch into default tip.
2012-12-11 13:05:32 +01:00
Tank_Master
9f4245779c
Partial Merge of LL 3.4.2 Release
2012-12-10 15:56:46 -08:00
Nicky
15346d1ab8
Fix for pink on old ATI cards.
...
--HG--
branch : Firestorm_4.3.1
2012-12-10 13:37:14 +00:00
Nicky
089af08759
FIRE-7602; Antipink. Reapply FS version of diffuseLookup to fix pinklinks.
2012-10-15 14:37:40 +02:00
Tank_Master
9545e30a8e
make "Reusing shader" an info instead of a warn message
2012-12-08 22:42:52 -08:00
Dave Parks
e86b1c18db
MAINT-794 Fix for assert on loading some types of objects before their parents.
2012-07-11 15:17:13 -05:00
Dave Parks
bedbbf7c02
Merge
2012-06-28 16:32:54 -05:00
Dave Parks
28ccf4190e
MAINT-653 Fix for shadow acne at high altitudes
2012-06-22 17:31:46 -05:00
Tank_Master
4a7a8a5e9f
dont use switch calls in shader manager for any GPU.
2012-09-16 22:56:00 -07:00
Tank_Master
cb24ec2e0d
merge LL 3.3.4 beta
...
autoreplace does not work (needs a hook in nearby chat), no cmd line option to add new stuff
spellcheck only works when packaged
2012-07-16 21:59:14 -07:00
Dave Parks
997b360747
MAINT-794 Fix for assert on loading some types of objects before their parents.
2012-07-11 15:17:13 -05:00
Nicky
cb07ea3997
FIRE-6845 / VWR-29228 Fix pink texture once more.
2012-07-05 09:57:35 +02:00
Dave Parks
9e9d32de38
merge
2012-06-22 14:04:33 -05:00
Dave Parks
abaf0155b4
MAINT-616 Faster issuance of occlusion queries.
2012-05-25 10:51:38 -05:00
Adam Moss
9ce481a5ac
STORM-1819: Ternary/graded shadow support
...
Coalesced patchset.
2012-04-21 17:35:50 +01:00
Tank_Master
991d43709c
merge LL 3.3.3 beta
2012-06-16 07:22:27 -07:00
Tank_Master
1c55d5cbb6
Merge LL 3.3.2 release
2012-05-28 17:02:11 -07:00
Dave Parks
353907bac6
SH-2908 Fix for incompatibility issue with GLSL 1.30
2012-02-28 16:10:04 -06:00
Tank_Master
e61c20d499
Merge LL 3.3.1 Viewer Release
2012-04-26 17:31:35 -07:00
Dave Parks
8f261582b8
SH-2908 Fix for crash when enabling Lighting and Shadows on some AMD GPUs
2012-02-22 14:30:24 -06:00
Dave Parks
e1a71a97cd
SH-2908 Potential fix for pink textures on some OpenGL 3.1 implementations.
2012-02-21 14:02:09 -06:00
Dave Parks
8d12038ef6
SH-2908 Potential fix for precision complaints from some AMD OpenGL 3.1 implementations.
2012-02-17 15:06:48 -06:00
Dave Parks
76a27f5100
SH-2964 Fix for shader compilation error on some older NVIDIA cards.
2012-02-13 13:55:51 -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
38e0b7de96
SH-2729 Fix for horizontal line of glitching graphics when DoF enabled
2012-02-06 18:56:19 -06:00
Leslie Linden
71a660e006
* Fixed up shader compilation errors to get lighting and shadows working again on Mac.
...
* Cleaned up vertex buffer allocation to guarantee allocation and deallocation using the same allocation methods from the same pools.
* Added new shader feature for atmospheric helpers in the absence of lighting.
Reviewed by davep.
2012-01-26 10:17:41 -08:00
Nicky
f27eb236cc
Fix for old ATI drivers showing all textures pink.
2012-02-13 00:33:53 +01:00
Dave Parks
9fa68f0da3
SH-2743 Fix for shader compiler error on some GL 3.x implementations.
2011-12-14 17:55:36 -06:00
Dave Parks
2dc7df91ad
SH-2743 Fix for shader compiler error on some GL 3.x implementations.
2011-12-13 15:23:55 -06:00
Nicky
161c1b019f
Merge up from 24496 / a656486925e8 (FS tip) to 25952 / 931cb0061118 (V/Dev FUI tip)
...
Observations and broken stuff so far:
- LLSideTray is gone.
- LLBottomTray is gone.
- LLFloaterSnapshot was changed and gave lots of merge conflicts. Flickr upload will be broken.
- LLNearbyChat is derived from LLPanel now. That broke quite some stuff rearding autohiding and docking of chatbar.
- Profile floaters are gone and all web based now.
- Russian translation gave huge mere conflicts with the new russian xml files from LL. Unmergeable. I took the LL files.
- XUI files in general will need some love and testing.
2012-01-17 17:57:52 +01:00
Leslie Linden
06a2d4eb27
SH-2038 PROGRESS -- Hacked the code to not render alpha using VBO's on OS X since everything renders faster using VBO's except alpha for some mysterious reason.
2011-11-28 17:13:42 -08:00
Dave Parks
5c690db63f
SH-2700 Fix for random black textures due to texture index out of bounds. Also change shader to show bright pink on index out of bounds and add assertions to help prevent this sort of bug in the future.
2011-11-18 15:04:26 -06:00
Dave Parks
bbac7e9aec
SH-2681 Fix for shader compiler error on GLSL 1.30 and later
2011-11-15 13:01:23 -06:00
Dave Parks
df546bfba9
SH-2666 Tweak depth of field optimizations based on resident feedback.
2011-11-10 16:12:50 -06:00
Dave Parks
c8f558f677
SH-2240 Better fix for red moon -- stop special casing "highlight_color" as a parameter.
2011-11-10 11:39:08 -06:00
Dave Parks
367d6212ae
SH-2652 Better DoF combine foo
2011-11-04 17:07:40 -05:00
Dave Parks
2179e1c1f2
SH-2541 Fix for speckles on avatar on some cards -- don't use "maximum_alpha" for alpha tests in shaders as it was always being set to 1.0 anyway.
2011-11-02 13:13:38 -05:00
Dave Parks
b58229a64e
SH-1427 Fix for sunlight color getting clobbered for non-deferred atmospheric shaders.
2011-11-01 14:33:20 -05:00
Dave Parks
973e99622e
SH-2240 Make OSX never attempt to use GLSL 1.30 or later
2011-10-21 11:05:49 -05:00
Dave Parks
3211c6e308
SH-2240 WIP on removing lots of string comparisons that were added to deal with exploding amounts of non-built-in GL state
2011-10-11 00:26:03 -05:00
Dave Parks
348a701812
SH-2507 Shave some unused/redundant varying state and make the max texture index debug setting rebuild shaders to use no flow control when set to 1 or lower
2011-09-28 00:41:10 -05:00
Dave Parks
c70026499a
merge
2011-09-24 13:52:19 -05:00
Dave Parks
552a02dcba
SH-2244 Fix for shaders not building on GL < 2.1
2011-09-24 13:52:00 -05:00
Dave Parks
183fe0d14c
SH-2244 Fix for shaders not compiling on pre-GL-3.0 ATI drivers
2011-09-24 03:09:32 -05:00
Dave Parks
da84f55527
SH-2243 work in progress -- don't use deprecated shader state
2011-09-16 12:40:53 -05:00
Leslie Linden
bf0d36bf88
Mac rendering now with 100% fewer crashes when enabling shadows.
2011-08-24 15:41:00 -07:00
Leslie Linden
764b7a1ec0
Mac build fixes.
2011-08-22 15:58:12 -07:00
Dave Parks
2dd8ce53e4
SH-2242 FXAA support instead of unreliable multisample textures (done here because it's a smaller change than integrating glVertexAttrib with FSAA pipe). Shader integration with LLDynamicTexture subclasses.
2011-08-11 14:19:58 -05:00
Dave Parks
8ec39da346
SH-2181 Fix for alpha flickering when basic shaders enabled (don't use glAlphaFunc when shaders are available).
...
Reviewed by Leslie
2011-07-29 17:46:16 -05:00
Dave Parks
5e20cee4b4
SH-1897 Don't use GLSL 1.20 unless the GL version is >= 2.1f
2011-06-27 10:34:21 -05:00
Dave Parks
ad4b559f9f
SH-1903 Fix for silly shader compiler error.
2011-06-24 15:30:48 -05:00
Dave Parks
253642ccff
SH-1903 Don't use indexed texture rendering when GL version is < 3.1 (fixes bad performance on cards with old drivers)
2011-06-23 23:06:36 -05:00
Dave Parks
b9b1500979
SH-1618 Fix for shaders being disabled on mac due to switch statement in indexed texture rendering code.
2011-06-20 11:55:22 -05: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
eca17c8993
SH-1682 Full integration if indexed texture rendering to improve batch size.
2011-05-30 01:25:55 -05:00
Dave Parks
4353eeb928
SH-469 GL_ARB_texture_multisample support
2011-05-24 15:29:33 -05:00
Leslie Linden
a52019d6d1
SH-1521 FIX -- Lighting and Shadows grayed out on mac
...
* Modified mac feature table to bring it up to date with latest renderer features including deferred rendering
* Changed mac AGL pixel format to no longer allow it to revert to software rendering when shader compilation errors occur.
* Fixed up various GLSL shader compilation warnings and errors that came up as a result of the above changes.
* Changed initial conditions for the "hardware skinning" checkbox on the preferences floater so it can be modified before login on machines that support avatar vertex programs.
* Removed unused avatarAlphaF.glsl files
Reviewed by davep
2011-05-10 14:34:36 -07:00
Dave Parks
6bf81535a0
SH-2743 Fix for shader compiler error on some GL 3.x implementations.
2011-12-14 17:55:36 -06:00
Arrehn
ccf9b57057
Login robustness, by Nicky Dasmijn
2011-10-09 15:04:01 -04:00
Dave Parks
b7cc611d60
SH-2181 Fix for alpha flickering when basic shaders enabled (don't use glAlphaFunc when shaders are available).
2011-08-28 08:50:32 -04:00
Oz Linden
a5619d16f7
correct licenses (fix problem with license change merge)
2010-10-13 07:24:37 -04:00
Dave Parks
9d5a3d7a2d
Better support for curious mixtures fullbright/shiny/water with rigged attachments, deferred rendering, and not.
2010-08-13 19:35:03 -05:00
Dave Parks
95ca4315e3
Fix for stupid shader loading mistake.
2010-04-23 00:38:10 -05:00
Dave Parks
5715a9269b
Fix for broken shader loading behavior when Debug GL enabled.
2010-04-22 23:16:39 -05:00
Dave Parks
54dd30cc42
More rigged attachments work.
2010-04-15 00:04:17 -05:00
Dave Parks
47ffcdb93d
Rigged attachments (almost works).
2010-04-06 16:24:08 -05:00
Adam Moss
e188badaf2
QAR-1177 maint-viewer-12 + uploadfees-viewer combo mergeme
...
svn merge -r108355:109316
svn+ssh://svn.lindenlab.com/svn/linden/branches/moss/maint-viewer-12-uploadfees-qa108314
Whew.
2009-02-03 17:56:26 +00:00
Aaron Brashears
e3cf284388
Result of svn merge -r107256:107258 svn+ssh://svn/svn/user/phoenix/license_2009_merge into trunk. QAR-1165
2009-01-08 00:05:06 +00:00
Mark Palange
f89f19990c
QAR-992 Merging revisions 101012-101170,101686-101687 of svn+ssh://svn.lindenlab.com/svn/linden/qa/viewer_combo_1-22-merge into linden/release
2008-11-07 17:51:03 +00:00
Eric Tulla
939a506569
Merging in file-move-merge ( QAR-649 )
...
Result of "svn merge -r 90669:90786 $tulla/file-move-merge ."
Be careful of future merges involving changes to any of these moved files as SVN usually does the wrong thing:
newview/llglslshader.* -> llrender/llglslshader.*, llrender/llshadermgr.*, newview/llviewershadermgr.* (gets split into 3 separate files)
newview/llpostprocess.* -> llrender/llpostprocess.*
newview/llrendersphere.* -> llrender/llrendersphere.*
newview/llcubemap.* -> llrender/llcubemap.*
llwindow/llgl.* -> llrender/llgl.*
llwindow/llglstates.h -> llrender/llglstates.h
llwindow/llgltypes.h -> llrender/llgltypes.h
llwindow/llglheaders.h -> llrender/llglheaders.h
2008-06-30 17:57:00 +00:00