Skip to content

kalwalt/ofxFog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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