sciapp / gr

GR framework: a graphics library for visualisation applications
Other
329 stars 54 forks source link

ambient lighting #54

Closed nilsbecker closed 6 years ago

nilsbecker commented 6 years ago

is it possible to create a more diffuse lighting style? in the api it seems there is only a specular light with a prescribed direction?

FlorianRhiem commented 6 years ago

No, ambient lighting is not part of GR3. You can set the light direction using gr3_setlightdirection.