Skip to content

Lighting does't work in 07-3D-03-PyramidLighting  #2

Description

@flush11

Lighting doesn't work with this sample.
It seems like ofBackgroundGradient is related.

I tried to add some code inside ofApp::draw(){} and looks it works.

ofBackgroundGradient( ofColor( 255 ), ofColor( 128 ) );

->

ofDisableLighting();
ofBackgroundGradient( ofColor( 255 ), ofColor( 128 ) );
ofEnableLighting();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions