Giter Club home page Giter Club logo

realisticwaterscenenode's Introduction

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);

realisticwaterscenenode's People

Contributors

elnormous avatar pukoren avatar

Stargazers

Rodney Cunningham avatar  avatar Duc Pham Hong avatar Louis Jean avatar  avatar Lion avatar John RaM avatar Saurav Mohapatra avatar Galli Davide Francesco Maria avatar Shell Lee avatar Jung-uk Choi avatar  avatar Qingchao Hu avatar Karim Naaji avatar  avatar Andreas Rentschler avatar Timo Janssen avatar Joseph Kuziel avatar  avatar Zhenwei Wu avatar  avatar Chanwoong Kim avatar wzman avatar Mārtiņš Možeiko avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar  avatar Lion avatar John RaM avatar  avatar Rodney Cunningham avatar  avatar  avatar

realisticwaterscenenode's Issues

run error

latest svn branch of irrlicht.

GLSL version: 1.3
GLSL shader failed to compile
0:1(1): error: syntax error, unexpected $end

Water glitched out in OpenGL

I have an isuse with the OpenGL version of the shader. The terrain and the water is both scaled to the same size, but as soon as I move away from the terrain, the water looks glitched
I'm using Irrlicht 1.8.3 with OpenGL 4.5 and GLSL 4.4; Since I have no DirectX 9 SDK installed I'm not able to test it with DirectX.

irrlicht_water

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.