Skip to content

Commit

Permalink
Merge pull request #520 from RubendeBruin/fix_specularpower
Browse files Browse the repository at this point in the history
fixed invalid zero value for specular-power
  • Loading branch information
marcomusy authored Nov 8, 2021
2 parents 4e4872d + 96123ad commit 9873ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vedo/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ def lighting(self, style='', ambient=None, diffuse=None,
elif style=='plastic' : pars = [0.3, 0.4, 0.3, 5, c]
elif style=='shiny' : pars = [0.2, 0.6, 0.8, 50, c]
elif style=='glossy' : pars = [0.1, 0.7, 0.9, 90, (1,1,0.99)]
elif style=='ambient' : pars = [0.8, 0.1, 0.0, 0, (1,1,1)]
elif style=='ambient' : pars = [0.8, 0.1, 0.0, 1, (1,1,1)]
elif style=='default' : pars = [0.1, 1.0, 0.05, 5, c]
else:
colors.printc("Error in lighting(): Available styles are", c='r')
Expand Down

0 comments on commit 9873ff9

Please sign in to comment.