Commit e618caa0 authored by Dario Seyb's avatar Dario Seyb

Added 'none' shading option

parent 6ce6e841
......@@ -80,6 +80,8 @@ class Context(object):
mat = three.MeshLambertMaterial(color='#dddddd', colorWrite=shading is not 'hidden')
elif shading == 'phong':
mat = three.MeshPhongMaterial(color='#dddddd')
elif shading == 'none':
mat = three.MeshBasicMaterial(color='#FFFFFF')
if len(clipping_planes) != 0:
mat.clipShadows = True
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment