Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Problem with lighting and 3d shapes in openframeworks 9

$
0
0

If I set the colour of the light in draw then it updates the lighting which fixes the problem

mPointLight.setSpecularColor( ofFloatColor(1.f, 1.f, 1.f) );
mPointLight.setDiffuseColor( ofFloatColor(1.f, 1.f, 1.f) );


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>