Tweak convex hull node and transparent object shader

Now we render at least a vague hint at lighting instead of nothing at
all.
This commit is contained in:
Arjen Hiemstra 2016-07-27 18:02:31 +02:00
parent 6af0f28f32
commit 823ab61cc5
2 changed files with 13 additions and 23 deletions

View file

@ -23,7 +23,7 @@ class ConvexHullNode(SceneNode):
self._original_parent = parent
# Color of the drawn convex hull
self._color = Color(35, 35, 35, 192)
self._color = Color(0.4, 0.4, 0.4, 1.0)
# The y-coordinate of the convex hull mesh. Must not be 0, to prevent z-fighting.
self._mesh_height = 0.1