openclonk/src/lib
Peter Wortmann 480ade634d Shiny materials, shader reorganisation
This implements the proposal made in the forum for "shiny" materials -
material can now determine the angle at which the most light is reflected.
Shiny materials might set this lower to approximate a "reflection" effect,
and increase the "spottiness" at the same time. To compensate for the
lack of brightness without light, "emittance" can be used.

Not sure this is the most elegant way to model this - the "proper" way
here would be to have emittance, shading and specular as three separate
light parameters instead of molding one into the other and using the third
to compensate.

Furthermore, this reorganises shaders in a major way: We reduce the
number of shader files down to three, pushing a number of possible
configurations into preprocessor. I believe this should be easier to
understand, which for the moment trumps theoretical extensibility
benefits.
2015-09-20 14:50:22 +01:00
..
C4InputValidation.cpp Remove a lot of disabled legacy code, round 2 2015-03-25 20:02:53 +01:00
C4InputValidation.h Update copyright notices 2013-12-23 13:03:19 +01:00
C4Log.cpp Fix logic error in shader log file locking 2015-06-06 21:31:19 +02:00
C4Log.h Move shader logging into separate file and log only in editor mode (#1209) 2015-01-03 17:53:59 +01:00
C4LogBuf.cpp Update copyright notices 2013-12-23 13:03:19 +01:00
C4LogBuf.h Update copyright notices 2013-12-23 13:03:19 +01:00
C4Markup.cpp Update copyright notices 2013-12-23 13:03:19 +01:00
C4Markup.h Update copyright notices 2013-12-23 13:03:19 +01:00
C4NameList.cpp Update copyright notices 2013-12-23 13:03:19 +01:00
C4NameList.h Update copyright notices 2013-12-23 13:03:19 +01:00
C4RTF.cpp Update copyright notices 2013-12-23 13:03:19 +01:00
C4RTF.h Update copyright notices 2013-12-23 13:03:19 +01:00
C4Random.cpp Move FixedRandom to C4Random.cpp 2014-04-19 19:02:21 +02:00
C4Random.h Remove some redundant #includes 2015-01-25 18:53:48 +01:00
C4Real.cpp Update copyright notices 2013-12-23 13:03:19 +01:00
C4Real.h Remove a lot of disabled legacy code, round 2 2015-03-25 20:02:53 +01:00
C4Rect.cpp Update copyright notices 2013-12-23 13:03:19 +01:00
C4Rect.h Update copyright notices 2013-12-23 13:03:19 +01:00
C4SimpleLog.cpp Update copyright notices 2013-12-23 13:03:19 +01:00
C4Stat.cpp Remove a lot of disabled legacy code, round 2 2015-03-25 20:02:53 +01:00
C4Stat.h Update copyright notices 2013-12-23 13:03:19 +01:00
SHA1.h Replace OpenSSL SHA1 implementation with one copied from boost/uuid 2011-01-10 21:30:40 +01:00
Standard.cpp Remove a lot of disabled legacy code, round 2 2015-03-25 20:02:53 +01:00
Standard.h Move ForLine function into C4Landscape.cpp 2015-02-23 13:39:51 +01:00
StdAdaptors.h Allow CNAT_* constants in VertexCNAT definition of DefCore (#1307) 2015-04-28 00:18:32 +02:00
StdBuf.cpp MinGW: Use __mingw_vasprintf if available 2014-03-25 23:20:34 +01:00
StdBuf.h Remove a lot of disabled legacy code, round 2 2015-03-25 20:02:53 +01:00
StdColors.h Rename BoundBy to Clamp 2015-02-12 23:05:55 +01:00
StdCompiler.cpp StdCompilerINIRead: Maintain line break cache for error msgs (#1310) 2015-05-10 20:52:35 +02:00
StdCompiler.h StdCompilerINIRead: Maintain line break cache for error msgs (#1310) 2015-05-10 20:52:35 +02:00
StdMesh.cpp Transform all mesh data to Clonk reference frame on load 2015-08-18 20:30:20 -04:00
StdMesh.h Add GetAnimationList() script function (#1344) 2015-06-22 19:58:58 -04:00
StdMeshLoader.cpp Transform all mesh data to Clonk reference frame on load 2015-08-18 20:30:20 -04:00
StdMeshLoader.h Transform all mesh data to Clonk reference frame on load 2015-08-18 20:30:20 -04:00
StdMeshLoaderBinary.cpp Transform all mesh data to Clonk reference frame on load 2015-08-18 20:30:20 -04:00
StdMeshLoaderBinaryChunks.cpp Fix memory leak on CID_Animation_BaseInfo mesh chunk type. 2015-02-08 12:35:45 +01:00
StdMeshLoaderBinaryChunks.h Update copyright notices 2013-12-23 13:03:19 +01:00
StdMeshLoaderDataStream.h Update copyright notices 2013-12-23 13:03:19 +01:00
StdMeshLoaderXml.cpp Silence a few compiler warnings. 2015-08-29 08:33:00 -04:00
StdMeshMaterial.cpp Shiny materials, shader reorganisation 2015-09-20 14:50:22 +01:00
StdMeshMaterial.h Add support for alpha_rejection in OGRE material scripts 2015-07-31 22:50:21 -04:00
StdMeshMath.cpp Remove a lot of disabled legacy code, round 2 2015-03-25 20:02:53 +01:00
StdMeshMath.h Remove a lot of disabled legacy code, round 2 2015-03-25 20:02:53 +01:00
StdMeshUpdate.cpp Remove a lot of disabled legacy code, round 2 2015-03-25 20:02:53 +01:00
StdMeshUpdate.h Append and include skeletons (#1180) 2015-01-06 18:25:08 +01:00
StdResStr2.cpp Update copyright notices 2013-12-23 13:03:19 +01:00