Siana Gearz
3cd16c84ef
Dirty patch Intel HD4000 shader-confusion
2013-05-27 06:47:00 +02:00
Shyotl
0742610674
Updated gObjectPreviewProgram shader (simple lighting)
2013-02-12 14:59:02 -06:00
Shyotl
afaaba6b3c
OSX was choking on transformfeedback shaders. Make failure to load such shaders non-critical to the shader loading process. Also clean up glColorMask state properly in wlsky.
2012-12-24 17:56:32 -06:00
Shyotl
b20f39d09f
Retain shader error logs across entire session.
2012-12-19 19:06:59 -06:00
Shyotl
0460769eea
Unified moon/star rendering to share same shader. Also now actually using deferred shader when performing deferred rendering.
2012-12-19 01:52:10 -06:00
Shyotl
2424d2a082
A little bit of postprocess shader tinkering.
2012-12-12 03:10:05 -06:00
Shyotl
08a3828cc9
Applied Tofu Linden's water atmospherics improvements.
...
59f73ee6a1 &
43fdcb8d84
2012-12-08 16:50:35 -06:00
Shyotl
5be31898f1
Don't compile avatar eye shader, as it isn't used anywhere.
2012-10-21 17:14:29 -05:00
Shyotl
438c499718
And the shader..
2012-09-19 15:34:15 -05:00
Shyotl
afc7c2b449
Better robustness when loading shaders. Redundant shaders (eg: "deferred/shadowF.glsl") will only need to be compiled once, and LLShaderMgr::mShaderObjects won't have previous entries mistakenly overwritten as a result.
2012-09-14 02:33:07 +02:00
Shyotl
d6b470cd07
Just call LLPipeline::refreshCachedSettings() in LLViewerShaderManager::setShaders() to avoid occlusion-related crashes if certain shaders failed to load.
2012-08-15 16:21:10 -05:00
Shyotl
1d1947c51a
Reworked LLPostProcess and implemented FBO support (much faster if multiple post shaders are enabled, or need a lot of passes).
...
Tweaked LLRenderTarget to support depth textures if FBO support is lacking.
Prefer LLRenderTarget::getFBO() over LLRenderTarget::sUseFBO when determining how to handle a specific LLRenderTarget object. (Decoupling to simplify logic without having to track a global)
2012-07-29 04:28:11 -05:00
Shyotl
46f7250f08
Fixup multisample rbos. Samplecount validation all done in LLMultisampleBuffer::allocate, and falls back to non-multisample safely if multisampled rbos cannot/shouldn't be used.
2012-07-15 21:12:31 -05:00
Shyotl
67e1a3b004
Lindie viewer-dev catchup regarding rendering pipeline.
2012-06-30 20:05:31 -05:00
Shyotl
e1d243272f
V3 merge part 1 / 2.
2012-04-13 22:39:39 -05:00
Siana Gearz
70438fa06f
Catching up with Lindies part 3
2012-03-26 15:01:53 +02:00
Siana Gearz
3f0f955a76
Catching up with Lindies part 2
2012-03-25 10:47:20 +02:00
Siana Gearz
459751f206
Catching up with Lindies part 1
2012-03-25 09:31:03 +02:00
Shyotl
d10724ae6f
Remove some dead savedsettings.
2012-02-10 11:20:28 -06:00
Shyotl
afed6dad84
Fix deferred on mac. VBO cleanup. https://bitbucket.org/VirLinden/viewer-development-shining-fixes/changeset/853c76596bdb
2012-01-26 16:09:47 -06:00
Shyotl
1bfa72fa7c
V3 merge. Slight update. Fixes lighting oddities.
2011-12-16 01:50:57 -06:00
Shyotl
0030ca3af7
Fixed extra post-process shaders. Cleaned up and no longer using deprecated functions.
2011-12-16 01:46:20 -06:00
Shyotl
ffb285c6ff
Huge renderer update (WIP). Still plenty to do, especially pertaining to UI.
...
-Nametag bubble visbility is oddly inconsistent. May vanish with future planned UI merges...
-VBOs are PAINFULLY slow on ATI hardware. This repos self-compiled davep/shining-fixes branch, so I'll leave the ball in LL's court for now regarding that.
2011-12-09 14:02:29 -06:00
Shyotl
8e7733b2ce
Lazy shader update. attribute -> ATTRIBUTE, varying -> VARYING. Moved some shader preprocessor stuff from llviewershadermgr.cpp to llshadermgr.cpp to match LL (although it looks more messy)
2011-11-24 01:03:03 -06:00
Shyotl
bf6e1d6c75
Unbork shadows. Apparently texture/texturProj do not return a vector for shadow samplers.
2011-11-23 21:30:32 -06:00
Shyotl
5d8d402403
Fix shader error dumping. (the error file was not being written to.) Also catch exceptions if shader log dir is inaccessable or otherwise unable to be cleared.
2011-11-23 21:29:42 -06:00
Shyotl
ee5a9c97be
Removing some shader warnings under gl 3.x context.
2011-11-07 16:43:30 -06:00
Shyotl
b3423de80a
Shaders dumped to logs/shader_dump directory if 'ShyotlDumpRawShaders' is true, or a shader throws an error of some sort.
2011-10-22 01:55:08 -05:00
Shyotl
78a98cbf08
Bump shader needs to have texture0 sample assigned to index0, and texture1 as index1. Confirmed in LLDrawPoolBump::bindBumpMap. (This probably isn't required yet, but appears safe)
2011-10-20 13:45:00 -05:00
Shyotl
91348909b5
Shuffled gObjectSimpleWaterProgram and gObjectSimpleAlphaMaskProgram around
2011-10-20 13:43:25 -05:00
Shyotl
73f2543a6f
Use LLGLShader::sIndexTextureChannels instead of mNumTextureImageUnits directly.. also check that channel value isn't invalid. Also make super-sure shaders are disabled on pre opengl 2.0 hardware.
2011-10-20 13:37:09 -05:00
Shyotl
c413d62536
Decouple RenderUseFBO from RenderDeferred, as toggling deferred would leave RenderUseFBO enabled regardless of previous setting.
2011-10-17 14:11:10 -05:00
Shyotl
d1b19aa389
Automatically disable new texture batching when using legacy renderpath.
2011-10-17 12:19:43 -05:00
Shyotl
3ba4861a3b
Avatar alpha masking now works with hardware skinning when not using fixed-function pipeline.
2011-09-10 15:45:28 -05:00
Shyotl
443d4e9f56
Windlight/water parameter managers now derived from standard LLSingleton instead of using some silly redundant clone.
2011-09-02 06:35:53 -05:00
Shyotl
20ef149dcb
Added test setting 'ShyotlUseLegacyTextureBatching' to disable new texture indexing. The new indexing method requires heavy branching in shaders, which some hardware may not perfom well with.
2011-08-16 02:37:18 -05:00
Shyotl
f551294e66
Alphamasking migrated to shaders instead of using fixed-function. Very early code. Hasn't even made it into viewer-development yet.
2011-08-12 19:20:11 -05:00
Shyotl
c9860f7b66
Massive deferred update...
...
Plus renamed setupViewport to setup[2|3]DViewport.
Migrated mWindowRect to mWindowRectRaw, mVirtualWindowRect to mWindowRectScaled.
Slowly updating getwindow/getworldview calls to new v2 variants as I run across them.
Cleaned up ascent-related code in llmanip.cpp.
Impostor update tweaks.
Edgepatch water occlusion changes. (no patch flickering on edges of screen while moving camera)
2011-08-11 03:16:17 -05:00
Shyotl
ca328aec72
Replaced some opengl fixed functions with shaders. Temporary ShyotlUseLegacyRenderPath setting to debug if this change actually improves framerate at all (setting not tied to callbacks. Have to toggle shaders to have stuff pick up the setting change)
2011-08-10 03:53:49 -05:00
Shyotl
bff63ac682
Parammanagers are really not done well. Added manager-specific shader lists instead of just having them dig down the global list every update.
2011-08-09 04:30:35 -05:00
Shyotl
9bda97786f
Batch indexing/no-fixed-function WIP.
2011-08-09 01:11:05 -05:00
Shyotl
fd50e54a7d
Fixed rigged shaders not loading under certain scenarios.
2011-07-31 19:00:58 -05:00
Shyotl
b258b71e07
Flipped the MESH_ENABLED switch. Added missing components and updated stuff to be closer to mesh-development head.
2011-07-30 20:30:07 -05:00
Shyotl
4ee4d52b2f
Added bokeh DoF. Fixed some several SSAO and shadow combinations. Fixed GI crash bug. Enabled several fasttimers. Updated shaders.
2011-05-24 20:31:17 -05:00
Shyotl
4663b605ef
Added fullbright shiny underwater shader.
2011-05-18 17:00:44 -05:00
Shyotl
a4b7bbd031
More should-be-safe changes. Prep for pipeline work.
2011-05-18 16:04:46 -05:00
Shyotl
66c9e3e1b4
Merge branch 'master' into V2Renderer
...
Conflicts:
indra/newview/llvoavatar.h
2011-05-14 14:03:25 -05:00
Shyotl
a3ac5a43b3
Changed how the enabled state for the deferred checkbox is handled in the graphics floater
...
It now is disabled if:
-Lacking hardware support for FBOs
-RenderDeferred not permitted in gpu feature table
-RenderAvatarVP not permitted in gpu feature table
-VertexShaderEnable is enabled and permitted in gpu feature table
-WindLightUseAtmosShaders is enabled and permitted in gpu feature table
Enabling deferred now requires WindLightUseAtmosShaders to be on beforehand, instead of blindly enabling it.
2011-05-13 02:26:14 -05:00
Shyotl
d1d6994419
Full v2.6 renderer.
2011-05-12 00:13:38 -05:00
Shyotl
1b039a1be6
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.
2011-03-10 23:06:46 -06:00