openclonk/src/object
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
..
C4Action.cpp Remove a lot of disabled legacy code, round 2 2015-03-25 20:02:53 +01:00
C4Command.cpp SetCommand Jump uses flight control and fix ObjectComJump() 2015-04-11 12:03:39 +02:00
C4Command.h Update copyright notices 2013-12-23 13:03:19 +01:00
C4Def.cpp Shiny materials, shader reorganisation 2015-09-20 14:50:22 +01:00
C4Def.h remove obsolete BuildTurnTo defcore entry 2015-05-11 21:47:55 +02:00
C4DefGraphics.cpp gl: Attach debug labels to objects 2015-03-25 22:00:36 +01:00
C4DefGraphics.h Remove several instances of disabled legacy code 2015-01-18 22:59:45 +01:00
C4DefList.cpp Remove a lot of disabled legacy code, round 2 2015-03-25 20:02:53 +01:00
C4DefList.h Append and include skeletons (#1180) 2015-01-06 18:25:08 +01:00
C4GameObjects.cpp Add script interface for some EFX sound modifiers. 2015-08-27 21:44:23 -04:00
C4GameObjects.h new function SetLightRange (replaces SetPlrViewRange) 2015-01-02 01:06:00 +01:00
C4IDList.cpp Rename BoundBy to Clamp 2015-02-12 23:05:55 +01:00
C4IDList.h Update copyright notices 2013-12-23 13:03:19 +01:00
C4Id.cpp Remove deprecated evaluation of CNMT rule in engine. 2015-01-25 14:35:18 +01:00
C4Id.h Remove a lot of disabled legacy code, round 2 2015-03-25 20:02:53 +01:00
C4InfoCore.cpp Remove a lot of disabled legacy code, round 2 2015-03-25 20:02:53 +01:00
C4InfoCore.h Remove a lot of disabled legacy code, round 2 2015-03-25 20:02:53 +01:00
C4MeshAnimation.cpp Add sanity check for animation length when using Anim_Linear as a position provider in PlayAnimation script function. 2015-07-07 22:59:41 -04:00
C4MeshAnimation.h Add sanity check for animation length when using Anim_Linear as a position provider in PlayAnimation script function. 2015-07-07 22:59:41 -04:00
C4Movement.cpp Add a new variant of vehicle that can be passed from below but be walked on from above. 2015-08-30 22:19:36 +09:00
C4Object.cpp Add a new variant of vehicle that can be passed from below but be walked on from above. 2015-08-30 22:19:36 +09:00
C4Object.h Add a new variant of vehicle that can be passed from below but be walked on from above. 2015-08-30 22:19:36 +09:00
C4ObjectCom.cpp SetCommand Jump uses flight control and fix ObjectComJump() 2015-04-11 12:03:39 +02:00
C4ObjectCom.h Update copyright notices 2013-12-23 13:03:19 +01:00
C4ObjectInfo.cpp Update copyright notices 2013-12-23 13:03:19 +01:00
C4ObjectInfo.h Update copyright notices 2013-12-23 13:03:19 +01:00
C4ObjectInfoList.cpp Remove a lot of disabled legacy code, round 2 2015-03-25 20:02:53 +01:00
C4ObjectInfoList.h Update copyright notices 2013-12-23 13:03:19 +01:00
C4ObjectList.cpp Fix leaked light and some possible dead pointers on game end and section switch. 2015-01-25 18:39:34 +01:00
C4ObjectList.h Remove a lot of disabled legacy code, round 2 2015-03-25 20:02:53 +01:00
C4ObjectMenu.cpp C4ObjectList: Replace trivial cases of manual list traversal with iterator usage 2014-10-25 21:25:52 +02:00
C4ObjectMenu.h Update copyright notices 2013-12-23 13:03:19 +01:00
C4ObjectPtr.cpp Update copyright notices 2013-12-23 13:03:19 +01:00
C4ObjectPtr.h Remove several instances of disabled legacy code 2015-01-18 22:59:45 +01:00
C4ObjectScript.cpp Add a new variant of vehicle that can be passed from below but be walked on from above. 2015-08-30 22:19:36 +09:00
C4Sector.cpp Update copyright notices 2013-12-23 13:03:19 +01:00
C4Sector.h Update copyright notices 2013-12-23 13:03:19 +01:00
C4Shape.cpp Add a new variant of vehicle that can be passed from below but be walked on from above. 2015-08-30 22:19:36 +09:00
C4Shape.h Add a new variant of vehicle that can be passed from below but be walked on from above. 2015-08-30 22:19:36 +09:00