Skip to content

kalwalt/ofxFog

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 

ofxFog

openFrameworks addon to add openGL fog to a scene.

Tested in OF 0072. This addon could be added to the OF core lib.

How to use

in testApp.h:

ofxFog fog;

ofFloatColor fogColor;

in testApp.cpp:

in void setup():

fog.setup();

fogColor.set(0.5f, 0.6f, 0.65f);

///add your setters here

fog.setfogColor(fogColor);

///.....and so on...

in void draw():

fog.enable();

ofBox(10);

fog.disable();

ofDrawBitmapString("I'm a string not coloured by the fog!", 10,720);

About

openFrameworks addon to add openGL fog to a scene

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages