openclonk/planet/Material.ocg
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
..
Acid.ocm Make acid a bit less corrosive. 2014-10-19 17:03:19 +02:00
Amethyst.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
Amethyst.ocm Make gems non-corrodable. 2014-10-18 01:19:21 +02:00
Amethyst_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
Ashes.ocm Ashes material is now instable. 2013-02-06 01:10:34 +01:00
Brick.ocm FnBlastFree: Added max_density parameter. 2013-03-26 00:45:44 +01:00
BrickSoft.ocm FnBlastFree: Added max_density parameter. 2013-03-26 00:45:44 +01:00
Coal.ocm Make acid corrode coal and firestone (#1032) 2014-02-03 21:46:56 +01:00
DuroLava.ocm Make Lava/DuroLava emit ambient light as a material property. (#1205) 2015-01-28 22:35:14 +01:00
Earth.ocm FnBlastFree: Added max_density parameter. 2013-03-26 00:45:44 +01:00
Firestone.ocm Make acid corrode coal and firestone (#1032) 2014-02-03 21:46:56 +01:00
Gold.ocm Shiny materials, shader reorganisation 2015-09-20 14:50:22 +01:00
Granite.ocm FnBlastFree: Added max_density parameter. 2013-03-26 00:45:44 +01:00
HalfVehicle.ocm 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
Ice.ocm FnBlastFree: Added max_density parameter. 2013-03-26 00:45:44 +01:00
Lava.ocm Make Lava/DuroLava emit ambient light as a material property. (#1205) 2015-01-28 22:35:14 +01:00
Lava.png Change .c4g extension to .ocg 2011-03-13 16:16:45 +01:00
ORE.ocm FnBlastFree: Added max_density parameter. 2013-03-26 00:45:44 +01:00
Rock.ocm FnBlastFree: Added max_density parameter. 2013-03-26 00:45:44 +01:00
Ruby.jpg Ruby and Amethyst material moved to main Material.ocg 2014-07-12 12:33:01 +02:00
Ruby.ocm Make gems non-corrodable. 2014-10-18 01:19:21 +02:00
Ruby_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
Sand.ocm FnBlastFree: Added max_density parameter. 2013-03-26 00:45:44 +01:00
SandDry.ocm Earth/Sand - no chunks dug out anymore 2012-04-05 03:01:50 +01:00
Snow.ocm Fix snow melting in lava/durolava 2012-12-16 18:51:44 +01:00
Snow.png Change .c4g extension to .ocg 2011-03-13 16:16:45 +01:00
TEXMAP.TXT Fix holes in landscapes that used the Granite-rock entry before. 2015-01-19 20:03:11 +01:00
Tunnel.ocm Add two new Material Shapes Octagon and Smoother, more chunk antialias 2011-09-07 14:25:32 +02:00
Vehicle.ocm Destroy single pixels of non-diggable material [ala] 2014-08-05 17:02:20 +02:00
Version.txt increase game content version entries to 6.0 2014-12-12 22:58:16 +01:00
Water.ocm make barrels work with every material 2014-01-11 22:32:45 +07:00
acid.jpg convert some textures to jpg 2013-05-26 18:11:51 +02:00
ashes.jpg + Ashes.ocm 2012-04-17 19:07:18 +01:00
ashes_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
authors.txt replace sulphur material with firestone material 2014-01-11 22:29:19 +07:00
brick1.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
brick1_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
brickback.jpg new brick texture 2011-08-29 21:43:10 +02:00
brickback_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
coal.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
coal_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
earth.jpg A set of normal-mapped textures 2012-09-05 21:58:35 +01:00
earth_NRM.jpg A set of normal-mapped textures 2012-09-05 21:58:35 +01:00
earth_dry.jpg Change .c4g extension to .ocg 2011-03-13 16:16:45 +01:00
earth_dry_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
earth_midSoil.jpg A set of normal-mapped textures 2012-09-05 21:58:35 +01:00
earth_midSoil_NRM.jpg A set of normal-mapped textures 2012-09-05 21:58:35 +01:00
earth_rough.jpg A set of normal-mapped textures 2012-09-05 21:58:35 +01:00
earth_rough_NRM.jpg A set of normal-mapped textures 2012-09-05 21:58:35 +01:00
earth_topSoil.jpg Added earth_topSoil and earth_midSoil textures; desaturated tunnel texture a bit 2011-05-24 17:01:49 -07:00
earth_topSoil_NRM.jpg A set of normal-mapped textures 2012-09-05 21:58:35 +01:00
firestone.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
firestone_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
gold.jpg colour modulated gold to remove green tint 2011-10-08 16:43:59 -07:00
gold_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
granite.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
granite_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
ice2.jpg Change .c4g extension to .ocg 2011-03-13 16:16:45 +01:00
ice2_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
ice3.jpg Change .c4g extension to .ocg 2011-03-13 16:16:45 +01:00
ice3_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
lava_red.jpg convert some textures to jpg 2013-05-26 18:11:51 +02:00
none.png renamed ominous "Smooth" texture to "none", removed reference in docs to Smooth and made it 512x512 2011-08-29 23:41:41 +02:00
ore.jpg Change .c4g extension to .ocg 2011-03-13 16:16:45 +01:00
ore_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
rock.jpg A set of normal-mapped textures 2012-09-05 21:58:35 +01:00
rock_NRM.jpg A set of normal-mapped textures 2012-09-05 21:58:35 +01:00
rock_cracked.jpg A set of normal-mapped textures 2012-09-05 21:58:35 +01:00
rock_cracked_NRM.jpg A set of normal-mapped textures 2012-09-05 21:58:35 +01:00
sand_rough.jpg Change .c4g extension to .ocg 2011-03-13 16:16:45 +01:00
sand_rough_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
sand_smooth.jpg Fix tiling of sand_smooth texture 2013-04-01 22:13:52 +02:00
sand_smooth_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
snow1.jpg replaced some textures 2011-08-28 23:19:03 +02:00
snow1_NRM.jpg Add normal maps to landscape materials. 2015-01-16 01:02:21 +01:00
tunnel.jpg Added earth_topSoil and earth_midSoil textures; desaturated tunnel texture a bit 2011-05-24 17:01:49 -07:00
tunnel_NRM.jpg A set of normal-mapped textures 2012-09-05 21:58:35 +01:00
water.jpg Resized water and lava textures 2011-05-24 23:25:40 +02:00
water1.jpg Water texture animation adjustments 2011-08-20 14:12:32 +01:00
water2.jpg Water texture animation adjustments 2011-08-20 14:12:32 +01:00
water3.jpg Water texture animation adjustments 2011-08-20 14:12:32 +01:00