Skip to content

elnormous/RealisticWaterSceneNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RealisticWaterSceneNode

Water scene node with reflections and refractions for Irrlicht

Water demo

Usage

To create the water scene node, use the following code

const f32 width = 512.0f;
const f32 height = 512.0f;
std::string resourcePath;
#ifdef __APPLE__
    NSString* path = [[NSBundle mainBundle]resourcePath];
    resourcePath = [path cStringUsingEncoding:NSASCIIStringEncoding];
#endif

RealisticWaterSceneNode* water = new RealisticWaterSceneNode(SceneManager, width, height, resourcePath);
SceneManager->getRootSceneNode()->addChild(water);

About

Realistic water scene node for Irrlicht

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published