Objects ripple when camera moves?
Posted: Wed Aug 20, 2014 4:16 am
When I move my player all objects around it begin to ripple anyone else experienced this? How can I stop it
Thanks,
Dan
Thanks,
Dan
Official forum of the Irrlicht Engine
https://irrlicht.sourceforge.io/forum/
Code: Select all
video::E_DRIVER_TYPE type = video::EDT_OPENGL;
core::dimension2d< u32 > size = core::dimension2d< u32 >(640, 480);
u32 bits = 16;
bool fullscreen = false;
bool stencilbuffer = false;
bool vsync = true;
IrrlichtDevice* device = createDevice( type, size, bits, fullscreen, stencilbuffer, vsync )
AFAIK vsync only works in fullscreen mode.dearingj wrote:The fix is simple: when you call createDevice, set vsync to true.Code: Select all
video::E_DRIVER_TYPE type = video::EDT_OPENGL; core::dimension2d< u32 > size = core::dimension2d< u32 >(640, 480); u32 bits = 16; bool fullscreen = false; bool stencilbuffer = false; bool vsync = true; IrrlichtDevice* device = createDevice( type, size, bits, fullscreen, stencilbuffer, vsync )