psi29a 
								
							 
						 
						
							
							
							
							
								
							
							
								4078f19c74 
								
							 
						 
						
							
							
								
								Merge branch 'SHADER_HOT_RELOAD' into 'master'  
							
							... 
							
							
							
							Shaders: Hot reload, togglable by lua debug command
See merge request OpenMW/openmw!2238  
							
						 
						
							2022-08-21 09:08:27 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								25c1f0ca16 
								
							 
						 
						
							
							
								
								Renamed variable to fix case issue  
							
							
							
						 
						
							2022-08-21 09:18:08 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrei Kortunov 
								
							 
						 
						
							
							
							
							
								
							
							
								e3ad30a517 
								
							 
						 
						
							
							
								
								Do not copy data when it is not needed  
							
							
							
						 
						
							2022-08-15 11:52:09 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								166717d601 
								
							 
						 
						
							
							
								
								Makes sure threads are only stopped once ,and that they will be re-started  
							
							
							
						 
						
							2022-08-13 00:34:01 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								16a4b5716b 
								
							 
						 
						
							
							
								
								adds missing include  
							
							
							
						 
						
							2022-08-12 18:52:31 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								decfbc5387 
								
							 
						 
						
							
							
								
								Fix threading issues  
							
							
							
						 
						
							2022-08-12 18:37:19 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								603b30e117 
								
							 
						 
						
							
							
								
								Added some variable names to make it clearer what their function was  
							
							... 
							
							
							
							avoid having lost of ->first and ->second that aren't meaningfull 
							
						 
						
							2022-08-07 22:56:32 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								3ab0a99154 
								
							 
						 
						
							
							
								
								Hot reload done only once every 200 ms, no point in beeing faster  
							
							... 
							
							
							
							it may also help with bugs where the file is still locked and can't be opened 
							
						 
						
							2022-08-04 13:37:12 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								cc9d436413 
								
							 
						 
						
							
							
								
								includes now work when the same shader has different defines  
							
							
							
						 
						
							2022-08-04 13:00:32 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								7b78bf4b66 
								
							 
						 
						
							
							
								
								Fix files with different defines weren't added to the hot reload manager  
							
							
							
						 
						
							2022-08-04 12:46:39 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								a1c8dc9d45 
								
							 
						 
						
							
							
								
								C++17 compat ?  
							
							
							
						 
						
							2022-08-04 09:50:02 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								cdd95f7889 
								
							 
						 
						
							
							
								
								replaced empty function body by default  
							
							
							
						 
						
							2022-08-04 09:25:25 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								9a475b0c97 
								
							 
						 
						
							
							
								
								fixed blank lines and missing breaks  
							
							
							
						 
						
							2022-08-04 09:19:41 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								b6d7293a12 
								
							 
						 
						
							
							
								
								Removed weird lines that I thought were necessary to please the compiler  
							
							
							
						 
						
							2022-08-04 09:13:25 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								68d0698924 
								
							 
						 
						
							
							
								
								Fixed cyclical included check  
							
							
							
						 
						
							2022-08-04 09:09:26 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								aa51d6de2a 
								
							 
						 
						
							
							
								
								Missing chrono include ?  
							
							
							
						 
						
							2022-08-04 00:14:53 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									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 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								f78fa989ee 
								
							 
						 
						
							
							
								
								fixed include, cleaned comments and indentation  
							
							
							
						 
						
							2022-08-03 20:50:39 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								6b38d62223 
								
							 
						 
						
							
							
								
								Added lua bindings to toggle hot reload (disabled by default) or to trigger a reload  
							
							
							
						 
						
							2022-08-03 19:56:19 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								4e7c1c5bef 
								
							 
						 
						
							
							
								
								Added break when the operation failed  
							
							
							
						 
						
							2022-08-03 19:21:48 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									florent.teppe 
								
							 
						 
						
							
							
							
							
								
							
							
								8d194a1601 
								
							 
						 
						
							
							
								
								Shaders: rudimentary hot reloader on shaders  
							
							... 
							
							
							
							every frame we poll the files and check if they are older or newer than the last test, if they are newer we find all the shader that included that file and update them 
							
						 
						
							2022-08-03 19:12:45 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									elsid 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bef15edf0b 
								
							 
						 
						
							
							
								
								Remove redundant ostream, istream, iostream and sstream includes  
							
							... 
							
							
							
							* Replace by std::to_string and operator+ where possible.
* Move the code requiring to include <sstream> from .hpp to .cpp files. 
							
						 
						
							2022-07-05 01:41:28 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									glassmancody.info 
								
							 
						 
						
							
							
							
							
								
							
							
								b09411d396 
								
							 
						 
						
							
							
								
								allow soft particles on meshes and add extra data extensions  
							
							
							
						 
						
							2022-06-29 18:15:12 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Mikheev 
								
							 
						 
						
							
							
							
							
								
							
							
								3bf18c601c 
								
							 
						 
						
							
							
								
								Better fog  
							
							
							
						 
						
							2022-06-21 02:21:20 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									jvoisin 
								
							 
						 
						
							
							
							
							
								
							
							
								21efb74b58 
								
							 
						 
						
							
							
								
								Remove even most boost::  
							
							
							
						 
						
							2022-05-26 16:13:07 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Evil Eye 
								
							 
						 
						
							
							
							
							
								
							
							
								a64979e25d 
								
							 
						 
						
							
							
								
								Replace empty std::string assignments  
							
							
							
						 
						
							2022-05-04 22:33:39 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									madsbuvi 
								
							 
						 
						
							
							
							
							
								
							
							
								dc3045c970 
								
							 
						 
						
							
							
								
								mono-only version of the shader linking system introduced in the stereo MR  
							
							
							
						 
						
							2022-04-26 19:54:24 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bo Svensson 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2e031f195b 
								
							 
						 
						
							
							
								
								fixes LightBufferBinding messages ( #3223 )  
							
							... 
							
							
							
							This PR aims to solve `uniform block LightBufferBinding has no binding` messages @glassmancody has reportedly encountered since PR #3110  due to an apparent bug in OSG. While we do have to add a workaround here that adds a bit of clunkiness, #3216  should allow us to clean up these interactions a bit in the future. 
							
						 
						
							2021-11-07 18:26:02 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bo Svensson 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8358418555 
								
							 
						 
						
							
							
								
								set the correct program link parameters ( #3110 )  
							
							... 
							
							
							
							* shadermanager.hpp setProgramTemplate
* shadermanager.hpp
* shadermanager.cpp setProgramTemplate
* shadervisitor.hpp setProgramTemplate
* shadervisitor.cpp setProgramTemplate
* scenemanager.cpp setProgramTemplate
* scenemanager.hpp setProgramTemplate
* renderingmanager.cpp
* groundcover.cpp setProgramTemplate
* groundcover.hpp
* groundcover.cpp
* shadervisitor.cpp
* util.cpp
* lightmanager.cpp
* scenemanager.cpp
* scenemanager.hpp
* lightmanager.cpp
* lightmanager.cpp
* lightmanager.cpp
* scenemanager.hpp [ci skip]
* water.cpp
* groundcover.cpp
* shadermanager.hpp 
							
						 
						
							2021-09-29 15:40:37 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									jvoisin 
								
							 
						 
						
							
							
							
							
								
							
							
								cb08f490d7 
								
							 
						 
						
							
							
								
								Sprinkle some const-ref in loop  
							
							... 
							
							
							
							This was done on the good advices of clang-tidy 
							
						 
						
							2021-09-04 20:50:59 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									jvoisin 
								
							 
						 
						
							
							
							
							
								
							
							
								1123dc46ee 
								
							 
						 
						
							
							
								
								Add a ton of const refs  
							
							
							
						 
						
							2021-06-23 23:13:59 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									glassmancody.info 
								
							 
						 
						
							
							
							
							
								
							
							
								bb834fb44e 
								
							 
						 
						
							
							
								
								append filename to shader names  
							
							
							
						 
						
							2021-06-05 18:21:03 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									glassmancody.info 
								
							 
						 
						
							
							
							
							
								
							
							
								690995988b 
								
							 
						 
						
							
							
								
								More formatting, OpenCS cells are unbroken  
							
							
							
						 
						
							2021-04-13 11:09:35 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									glassmancody.info 
								
							 
						 
						
							
							
							
							
								
							
							
								43ac32921c 
								
							 
						 
						
							
							
								
								Rewrite, support different lighting methods  
							
							
							
						 
						
							2021-04-13 11:09:19 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									glassmancody.info 
								
							 
						 
						
							
							
							
							
								
							
							
								9d9074c244 
								
							 
						 
						
							
							
								
								Add shared UBO  
							
							
							
						 
						
							2021-04-13 11:07:48 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									glassmancody.info 
								
							 
						 
						
							
							
							
							
								
							
							
								dda735c54a 
								
							 
						 
						
							
							
								
								initial commit  
							
							
							
						 
						
							2021-04-13 11:06:16 -07:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrei Kortunov 
								
							 
						 
						
							
							
							
							
								
							
							
								14cf0ce1dc 
								
							 
						 
						
							
							
								
								Implement instanced groundcover  
							
							
							
						 
						
							2021-01-26 22:29:41 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								72f7e6a702 
								
							 
						 
						
							
							
								
								Handle all shadow alpha uniforms in shadowsbin  
							
							
							
						 
						
							2020-11-12 00:26:30 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Mads Buvik Sandvei 
								
							 
						 
						
							
							
							
							
								
							
							
								d5450a7d88 
								
							 
						 
						
							
							
								
								Correctly resetting line numbering during shader processing.  
							
							
							
						 
						
							2020-10-03 14:22:34 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Mads Buvik Sandvei 
								
							 
						 
						
							
							
							
							
								
							
							
								0d6be9bd18 
								
							 
						 
						
							
							
								
								More accurate detection of cyclic includes  
							
							
							
						 
						
							2020-08-06 01:16:19 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Mads Buvik Sandvei 
								
							 
						 
						
							
							
							
							
								
							
							
								2ed12a398d 
								
							 
						 
						
							
							
								
								addLineDirectivesAfterConditionalBlocks move check for npos to catch all npos  
							
							
							
						 
						
							2020-08-04 01:46:54 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									elsid 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								40ad87bc4d 
								
							 
						 
						
							
							
								
								Replace OpenThreads by std types  
							
							
							
						 
						
							2020-06-25 22:16:09 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									psi29a 
								
							 
						 
						
							
							
							
							
								
							
							
								b72720f357 
								
							 
						 
						
							
							
								
								Merge branch 'shadow-transparency-rework' into 'master'  
							
							... 
							
							
							
							Only alpha-test shadows when necessary
See merge request OpenMW/openmw!170  
							
						 
						
							2020-05-08 21:32:16 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									elsid 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								edf002aa97 
								
							 
						 
						
							
							
								
								Rename argument shaderTemplate to templateName  
							
							
							
						 
						
							2020-05-02 17:56:24 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									elsid 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7aaec5e989 
								
							 
						 
						
							
							
								
								Log shader template name on parse error  
							
							
							
						 
						
							2020-04-23 19:52:17 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								12044a607b 
								
							 
						 
						
							
							
								
								Only alpha-test shadows when necessary  
							
							... 
							
							
							
							Previously we always discarded shadow map fragments if the alpha channel of the output would have been low, but there were some (modded) assets that have non-one alpha but have testing or blending disabled so end up opaque anyway. This lets the shadows of those objects match. 
							
						 
						
							2020-04-10 15:45:37 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrei Kortunov 
								
							 
						 
						
							
							
							
							
								
							
							
								1cdd33b434 
								
							 
						 
						
							
							
								
								Implement additional stringops to avoid Boost functions  
							
							
							
						 
						
							2020-01-09 19:40:22 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrei Kortunov 
								
							 
						 
						
							
							
							
							
								
							
							
								3032b177a1 
								
							 
						 
						
							
							
								
								Remove redundant includes  
							
							
							
						 
						
							2019-02-23 08:02:12 +04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									AnyOldName3 
								
							 
						 
						
							
							
							
							
								
							
							
								0124be5713 
								
							 
						 
						
							
							
								
								Merge upstream/master  
							
							
							
						 
						
							2018-10-10 21:23:19 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrei Kortunov 
								
							 
						 
						
							
							
							
							
								
							
							
								e06f0b797a 
								
							 
						 
						
							
							
								
								Replace all NULLs to nullptr  
							
							
							
						 
						
							2018-10-09 10:21:12 +04:00