(C++)Irrlicht 1.1 : Fake Glow,Dream and Night Vision
I just added it to my game, and it's great. There is one very strange glitch, though. The gravity for my enemies has stopped working. I've had this problem involving RTT before, so I don't think it's a problem with your code.
EDIT: By the way, I used both glow at 128 and dream at 32 at the same time, and it created a beautiful light bloom effect.
EDIT: By the way, I used both glow at 128 and dream at 32 at the same time, and it created a beautiful light bloom effect.
-
Lee Zhi Eng
- Posts: 34
- Joined: Tue Aug 22, 2006 2:48 pm
- Location: Malaysia
really cool effects, and easier to use than shaders it looks like...
I wish the shader interface was simpler, then it might be as straightforward to use as your code
I wish the shader interface was simpler, then it might be as straightforward to use as your code
My irrlicht-based projects have gone underground for now, but if you want, check out my webcomic instead! http://brokenboomerang.net
-
Simson
- Competition winner
- Posts: 95
- Joined: Wed Nov 30, 2005 8:53 am
- Location: France : midi pyrénées
Hello,
try to change in the "create" method the value of ScaleX and SizeY by :
It's the maths i use in the version 1.2 and that work perfect but it doesn't work in the 1.1 because I think the FOV is buggy.
try to change in the "create" method the value of ScaleX and SizeY by :
Code: Select all
f32 resultat = cos((CamGlow->getFOV()/2));
resultat = 1.09f/resultat;
resultat = (resultat*resultat) - (1.09f*1.09f);
resultat = sqrt(resultat);
f32 SizeY = resultat;
f32 ScaleX = resultat * CamGlow->getAspectRatio();Hey i really like these effects and would like to use them in ShootIrr(look at project announcements) if u don't mind. Do you think that u could adjust the code that it works with a normal icamerascenenode? would be awesome
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.

