paysages: small changes
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@268 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
This commit is contained in:
parent
c37f87b0cc
commit
36b6943ea4
2 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@ void paysagesInit()
|
||||||
camera = cameraCreateDefinition();
|
camera = cameraCreateDefinition();
|
||||||
cameraSetLocation(&camera, -12.0, 5.0, 2.0);
|
cameraSetLocation(&camera, -12.0, 5.0, 2.0);
|
||||||
cameraSetTarget(&camera, 0.0, 5.0, 0.0);
|
cameraSetTarget(&camera, 0.0, 5.0, 0.0);
|
||||||
|
cameraRotateYaw(&camera, 1.0);
|
||||||
scenerySetCamera(&camera);
|
scenerySetCamera(&camera);
|
||||||
cameraDeleteDefinition(&camera);
|
cameraDeleteDefinition(&camera);
|
||||||
|
|
||||||
|
|
|
@ -220,7 +220,7 @@ Color texturesGetLayerColor(TextureLayerDefinition* definition, Renderer* render
|
||||||
SurfaceMaterial material;
|
SurfaceMaterial material;
|
||||||
|
|
||||||
result = COLOR_TRANSPARENT;
|
result = COLOR_TRANSPARENT;
|
||||||
normal = _getNormal(definition, renderer, location, detail);
|
normal = _getNormal(definition, renderer, location, detail * 0.1);
|
||||||
|
|
||||||
coverage = zoneGetValue(definition->zone, location, normal);
|
coverage = zoneGetValue(definition->zone, location, normal);
|
||||||
if (coverage > 0.0)
|
if (coverage > 0.0)
|
||||||
|
|
Loading…
Reference in a new issue