paysages: small changes

git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@268 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
This commit is contained in:
Michaël Lemaire 2012-02-17 18:07:09 +00:00 committed by ThunderK
parent c37f87b0cc
commit 36b6943ea4
2 changed files with 2 additions and 1 deletions

View file

@ -27,6 +27,7 @@ void paysagesInit()
camera = cameraCreateDefinition();
cameraSetLocation(&camera, -12.0, 5.0, 2.0);
cameraSetTarget(&camera, 0.0, 5.0, 0.0);
cameraRotateYaw(&camera, 1.0);
scenerySetCamera(&camera);
cameraDeleteDefinition(&camera);

View file

@ -220,7 +220,7 @@ Color texturesGetLayerColor(TextureLayerDefinition* definition, Renderer* render
SurfaceMaterial material;
result = COLOR_TRANSPARENT;
normal = _getNormal(definition, renderer, location, detail);
normal = _getNormal(definition, renderer, location, detail * 0.1);
coverage = zoneGetValue(definition->zone, location, normal);
if (coverage > 0.0)