From 36b6943ea4af1a0290223336eb361a964b0c376e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Lemaire?= Date: Fri, 17 Feb 2012 18:07:09 +0000 Subject: [PATCH] paysages: small changes git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@268 b1fd45b6-86a6-48da-8261-f70d1f35bdcc --- lib_paysages/main.c | 1 + lib_paysages/textures.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib_paysages/main.c b/lib_paysages/main.c index b853964..042b341 100644 --- a/lib_paysages/main.c +++ b/lib_paysages/main.c @@ -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); diff --git a/lib_paysages/textures.c b/lib_paysages/textures.c index 4f10238..4424130 100644 --- a/lib_paysages/textures.c +++ b/lib_paysages/textures.c @@ -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)