elsid 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f99ed6f1db 
								
							 
						 
						
							
							
								
								Split components/misc/stringops.hpp into multiple headers  
							
							... 
							
							
							
							Replace all ciEqual overloads with one having std::string_view as argument. 
							
						 
						
							2022-08-03 22:06:24 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									madsbuvi 
								
							 
						 
						
							
							
							
							
								
							
							
								dd5901d351 
								
							 
						 
						
							
							
								
								Initial commit  
							
							... 
							
							
							
							Multiview shaders.
Refactor Frustum management
Rewrite shared shadow map
cull mask should respect stereo
Stereo savegame screencap
LocalMap refactoring
use the vertex buffer hint instead of the display list patch to enable/disable display lists
Character preview fixes 
							
						 
						
							2022-04-28 21:05:34 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Alexei Dobrohotov 
								
							 
						 
						
							
							
							
							
								
							
							
								7a0c13fcf8 
								
							 
						 
						
							
							
								
								Make better use of std::clamp  
							
							
							
						 
						
							2021-11-06 08:47:32 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bo Svensson 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								98f8295765 
								
							 
						 
						
							
							
								
								allows to skip ComputeLightSpaceBounds traversal ( #3152 )  
							
							... 
							
							
							
							Currently, we always traverse the scene graph an additional time with a ComputeLightSpaceBounds visitor during shadow casting. ComputeLightSpaceBounds is only useful when the shadow casting mask allows us to shrink the bounds of the rendered scene, so we guard its traversal with a check against getCastsShadowTraversalMask. In practice, this guard never works because we build the traversal mask inclusively.
With this PR we limit the getCastsShadowTraversalMask check to relevant masks. This new check allows us to skip a superfluous ComputeLightSpaceBounds traversal with most settings. 
							
						 
						
							2021-10-11 11:27:50 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								37661bffea 
								
							 
						 
						
							
							
								
								Merge branch 'shadowdisable-fix' into 'master'  
							
							... 
							
							
							
							Make disableShadowsForStateSet a no-op when shadows are disabled
See merge request OpenMW/openmw!205  
							
						 
						
							2020-11-18 18:56:36 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								7768556ce6 
								
							 
						 
						
							
							
								
								Set dummy state when disabling shadows indoors  
							
							... 
							
							
							
							As we don't reconfigure all shaders without shadows when we disable them
indoors (as it'd probably add a hitch to transitioning in and out) we
need to set up dummy state so the shaders don't do anything illegal.
This hadn't had symptoms for most objects as when indoors, nearly
everything would be drawn first in one of the water RTTs, which had
dummy state to disable shadows already. This wasn't true of the water
plane itself, though, yet somehow it took until just now for anyone to
report that.
This resolves vtastek's issue where the water would be invisible indoors 
							
						 
						
							2020-11-16 21:01:20 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Icecream95 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f14db21745 
								
							 
						 
						
							
							
								
								Make disableShadowsForStateSet a no-op when shadows are disabled  
							
							... 
							
							
							
							Otherwise the GPU has to do useless shadow comparisons when shadows
are disabled. 
							
						 
						
							2020-05-17 19:52:23 +12:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bret Curtis 
								
							 
						 
						
							
							
							
							
								
							
							
								5f0f2f0f16 
								
							 
						 
						
							
							
								
								rename to better reflect what is going on per AnyOldName3 comment; added none option  
							
							
							
						 
						
							2020-05-01 00:34:31 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									psi29a 
								
							 
						 
						
							
							
							
							
								
							
							
								bb5fe13e13 
								
							 
						 
						
							
							
								
								Make sure it is either one or the other with the default to bounding volumes.  
							
							
							
						 
						
							2020-04-29 23:06:44 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bret Curtis 
								
							 
						 
						
							
							
							
							
								
							
							
								d38c3e971c 
								
							 
						 
						
							
							
								
								remove extra line  
							
							
							
						 
						
							2020-04-29 17:05:08 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bret Curtis 
								
							 
						 
						
							
							
							
							
								
							
							
								ae729a1ac7 
								
							 
						 
						
							
							
								
								add ability to set the type of near far method to be used in shadow calculation; default to bounding volumes; cleaned up code while there and re-ordered items  
							
							
							
						 
						
							2020-04-29 16:36:48 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									bzzt 
								
							 
						 
						
							
							
							
							
								
							
							
								dc33eeadf1 
								
							 
						 
						
							
							
								
								tightscenebound is uncessary after water bbfix  
							
							
							
						 
						
							2020-04-27 08:42:46 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bret Curtis 
								
							 
						 
						
							
							
							
							
								
							
							
								8a8107e837 
								
							 
						 
						
							
							
								
								as it says; revert vismask and uncomplicate openmw  
							
							
							
						 
						
							2020-04-20 20:57:38 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrei Kortunov 
								
							 
						 
						
							
							
							
							
								
							
							
								84979fa8b7 
								
							 
						 
						
							
							
								
								Move VisMask to components  
							
							
							
						 
						
							2020-02-16 16:03:35 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrei Kortunov 
								
							 
						 
						
							
							
							
							
								
							
							
								f09d20434c 
								
							 
						 
						
							
							
								
								Clamp number of shadow maps  
							
							
							
						 
						
							2019-11-17 17:25:02 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrei Kortunov 
								
							 
						 
						
							
							
							
							
								
							
							
								7074baa1c2 
								
							 
						 
						
							
							
								
								Clamp number of shadow maps, as described in docs  
							
							
							
						 
						
							2019-11-13 15:10:22 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									bzzt 
								
							 
						 
						
							
							
							
							
								
							
							
								b6ed2f1718 
								
							 
						 
						
							
							
								
								Add optional shadow map max distance and fading  
							
							
							
						 
						
							2019-11-02 18:06:39 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								cfe921fb82 
								
							 
						 
						
							
							
								
								Remove uneeded includes.  
							
							
							
						 
						
							2019-01-31 20:12:42 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								2761a38562 
								
							 
						 
						
							
							
								
								Prettify shadow define map setup.  
							
							
							
						 
						
							2019-01-31 20:12:17 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								57e10e26b2 
								
							 
						 
						
							
							
								
								Make variable name less confusing  
							
							
							
						 
						
							2019-01-31 14:58:57 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								a24b8ec3d2 
								
							 
						 
						
							
							
								
								Fix enable/disable mixup.  
							
							
							
						 
						
							2019-01-31 14:57:56 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								556c9a3382 
								
							 
						 
						
							
							
								
								Add normal-offset shadow mapping to remove shadow acne (flicker)  
							
							
							
						 
						
							2019-01-30 22:28:00 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								199e6ed82d 
								
							 
						 
						
							
							
								
								Revert "Use forward declaration to reduce build times."  
							
							... 
							
							
							
							This reverts commit 305b9826df 
							
						 
						
							2018-12-19 23:53:14 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								305b9826df 
								
							 
						 
						
							
							
								
								Use forward declaration to reduce build times.  
							
							
							
						 
						
							2018-12-19 16:23:32 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								2d5da1a6fa 
								
							 
						 
						
							
							
								
								Don't exclusively rely on a shadow map if its bounds have been expanded since the cull traversal.  
							
							
							
						 
						
							2018-12-08 20:39:41 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								0a409c0ab8 
								
							 
						 
						
							
							
								
								Make shadow map front-face culling configurable  
							
							
							
						 
						
							2018-12-01 00:26:43 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								dd207d9e54 
								
							 
						 
						
							
							
								
								Make the shadow polygon offset parameters configurable  
							
							
							
						 
						
							2018-11-30 00:55:54 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								1ca7ea23d1 
								
							 
						 
						
							
							
								
								Add extra uniforms to the disabled shadows StateSet so that the shadow texture samplers are bound ot the dummy shadow maps correctly.  
							
							
							
						 
						
							2018-10-30 17:07:11 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								474770eca8 
								
							 
						 
						
							
							
								
								Switch shadow map rendering to a specialised, simplified shader.  
							
							
							
						 
						
							2018-10-16 21:23:31 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								3b3721897d 
								
							 
						 
						
							
							
								
								Make indoor shadows disableable.  
							
							
							
						 
						
							2018-08-08 23:56:11 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								85aba2e1da 
								
							 
						 
						
							
							
								
								Add toggleable shadow debug overlay.  
							
							
							
						 
						
							2018-06-28 17:24:36 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								84284a60a7 
								
							 
						 
						
							
							
								
								Make CSM shader changes controllable by the setting.  
							
							
							
						 
						
							2018-05-17 17:35:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								5d05aadb37 
								
							 
						 
						
							
							
								
								Begin to let settings toggle between CSM and PSSM  
							
							
							
						 
						
							2018-05-17 16:57:01 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								66a114d6ec 
								
							 
						 
						
							
							
								
								Fix a couple of warnings  
							
							
							
						 
						
							2018-02-27 14:15:06 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								f9cf1ac94b 
								
							 
						 
						
							
							
								
								Separate indoor and outdoor shadow casting masks.  
							
							
							
						 
						
							2018-02-27 00:13:51 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								35eb71052e 
								
							 
						 
						
							
							
								
								Tidy up the shadow manager  
							
							
							
						 
						
							2018-02-26 23:52:46 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								882b63cba9 
								
							 
						 
						
							
							
								
								Make split point control parameters configurable with the new shadow technique.  
							
							
							
						 
						
							2018-02-26 23:00:46 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								e233dae1cd 
								
							 
						 
						
							
							
								
								Hook up the new shadow technique  
							
							
							
						 
						
							2018-02-26 22:27:09 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								02d0ee3485 
								
							 
						 
						
							
							
								
								Rename old shadow class to shadow manager  
							
							
							
						 
						
							2018-02-26 14:29:31 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								9ec59783ba 
								
							 
						 
						
							
							
								
								Add basic support for distant terrain CLSB  
							
							... 
							
							
							
							(cherry picked from commit 0f9dc3e65b72e6fff762f7a0933bae6f861e5fd4) 
							
						 
						
							2018-02-23 23:37:04 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								cb6767b4fc 
								
							 
						 
						
							
							
								
								Move the declaration of ComputeLightSpaceBounds to the header so that it can be accessed from other compilation units.  
							
							... 
							
							
							
							(cherry picked from commit 8ac4fb208897a18da4934dd6f2fe84560b44ba9d) 
							
						 
						
							2018-02-23 23:35:01 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								6251e0519e 
								
							 
						 
						
							
							
								
								Use CLSB results to reduce maximum shadow map distance when sensible.  
							
							
							
						 
						
							2018-02-23 23:31:53 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								9f20aaccfb 
								
							 
						 
						
							
							
								
								Add some more advanced settings to control shadows.  
							
							
							
						 
						
							2018-01-25 16:08:34 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								c3e0398d1c 
								
							 
						 
						
							
							
								
								Add settings  
							
							
							
						 
						
							2017-12-27 02:32:17 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								c192c851db 
								
							 
						 
						
							
							
								
								Make disabling shadows disable their performance impact, too.  
							
							
							
						 
						
							2017-12-26 23:51:50 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								8957c92a36 
								
							 
						 
						
							
							
								
								Switch to a more industry-standard shadow map splitting scheme  
							
							
							
						 
						
							2017-12-17 00:52:10 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								7cce2d6f87 
								
							 
						 
						
							
							
								
								Implement a more sensible shadow map cascading system  
							
							
							
						 
						
							2017-12-12 22:37:40 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								98cd9fc144 
								
							 
						 
						
							
							
								
								Add preliminary support for global shader defines.  
							
							
							
						 
						
							2017-11-22 20:07:07 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								e201e359a9 
								
							 
						 
						
							
							
								
								Move Shadow to Components  
							
							
							
						 
						
							2017-11-08 01:44:49 +00:00