Quantcast
Channel: bugs, errors - openFrameworks
Viewing all articles
Browse latest Browse all 636

ofLight/ofMaterial with ProgrammableRender (VisualStudio OF0.9.8)

$
0
0

@andrea.c84 wrote:

Hello to everyone,

I'm having a problem with OF (0.9.8) ofLight/ofMaterial and the programmable render.

Whenever I try to run an application/example using a programmable render the ofLights and the ofMaterials are not displayed properly (see the attached picture taken from 3DPrimitivesExample)

To enable the programmable render my main() function calls:
ofGLWindowSettings settings;
settings.setGLVersion(3, 2);
ofCreateWindow(settings);
return ofRunApp(new ofApp);

However, everythings work fine if I do not enable the programmable render by launching the application with:
ofSetupOpenGL(1024, 768, OF_WINDOW);
ofRunApp(new ofApp());

Is this a known bug/limitation? Does anyone have any idea on what could be the issue?

Thank you,
Andrea

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 636

Trending Articles