OpenGL Volumetric Lighting
hybrid wrote:Because you have to recompile your application with the new headers. Due to class changes this would otherwise lead to inconsistent pointers, which will usually crash.
![Shocked :shock:](./images/smilies/icon_eek.gif)
Texture loaded ok!
Application running ok with newest version from source control.
Thank you so much Hybrid, I am missing interface file for VolumetricLighting code. The instruction in this topic missing that interface.hybrid wrote:Did you check the version in SVN (the code, not html)? This feature is only available in SVN. No hardware requirement besides a not too old version of OpenGL (in case you use OpenGL for rendering).
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
I don't exactly understand what you're saying, but here's the code from example 8
Code: Select all
//volumetric lighting
scene::ISceneNode * n = smgr->addVolumeLightSceneNode(NULL, -1,
32, //Sub Divid U
32, //Sub Divid V
video::SColor(0, 180, 180, 180), //foot colour
video::SColor(0, 0, 0, 0) //tail colour
);
if (n) {
n->setScale(core::vector3df(56.0f, 56.0f, 56.0f));
n->setPosition(core::vector3df(-120,60,40));
video::SMaterial& mat = n->getMaterial(0);
mat.setTexture(0, smgr->getVideoDriver()->getTexture("../../media/lightFalloff.png"));
}
Hi, my demo with DirectX 9 has a error with Volumetric Lighting.
Please check this topic:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=26611
Please check this topic:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=26611
nice you are our hero.![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Very Happy :D](./images/smilies/icon_biggrin.gif)
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
Hey,
this is great ! I hope to see more soon.
Are there any news about this ?
Is there a new version ?
Cu iZigoo
this is great ! I hope to see more soon.
Are there any news about this ?
Is there a new version ?
Cu iZigoo
-------------------------------------------------------
iZigoo - The open 3D internet
iZigoo Homepage
iZigoo - The open 3D internet
iZigoo Homepage