Missing Fog & Water transparence in OpenGL mode
Missing Fog & Water transparence in OpenGL mode
Hi all,
I was just wondering why this problem was still here. Check the perpixel demo and specialfx demo that's in the irrlicht sdk. Run it in DX mode then run it in opengl mode. You'll see that the perpixel demo in dx has fog while opengl doesn't. Run the specialfx demo in dx mode and you can see through the water. Run it again in opengl mode and you can't see the bottom of the floor of water. It's like the stone*.jpg texture never got loaded but the console shows that it's loaded properly. This was present in irrlicht 0.8 and I thought it would be fixed in 0.9 but it's still there.
Any comments and solutions for this?
Thanks
I was just wondering why this problem was still here. Check the perpixel demo and specialfx demo that's in the irrlicht sdk. Run it in DX mode then run it in opengl mode. You'll see that the perpixel demo in dx has fog while opengl doesn't. Run the specialfx demo in dx mode and you can see through the water. Run it again in opengl mode and you can't see the bottom of the floor of water. It's like the stone*.jpg texture never got loaded but the console shows that it's loaded properly. This was present in irrlicht 0.8 and I thought it would be fixed in 0.9 but it's still there.
Any comments and solutions for this?
Thanks
Supporting snapshots
Here's two screenshots illustrating the problems I'm talking about:
In internet explorer they load ok, but in firefox you get and "image hosted by angelfire" banner, so download the image extensions available, right click on the banner and select "view image"
about the 2 bugs:
2 layers texture mix has always been a non-solved bug in Irrlicht although there are patches around for getting it to work..cough..NX..cough cough
but fog used to work fine and now is giving problems. I also hope opengl probs get solved since it has been proved it's possible
about the 2 bugs:
2 layers texture mix has always been a non-solved bug in Irrlicht although there are patches around for getting it to work..cough..NX..cough cough
but fog used to work fine and now is giving problems. I also hope opengl probs get solved since it has been proved it's possible
ahh sorry about the screenshots not showing. I use firefox myself too and it seems if you use a proxy for this web browser then it shows properly. Otherwise you do get that 'hosted by angelfire' image. By default I'm using a program called proxomitron with firefox so that's why it shows properly for me.
As for the two bugs, why does opengl have this problem but directx is just fine? Did niko say anything about these two problems? I can't seem to find anything about this in the search. I'm surprise more people haven't brought these two problems into light yet.
As for the two bugs, why does opengl have this problem but directx is just fine? Did niko say anything about these two problems? I can't seem to find anything about this in the search. I'm surprise more people haven't brought these two problems into light yet.
-
- Posts: 61
- Joined: Mon Oct 25, 2004 12:11 am
I have a fix for this that works with 0.8. I would happy to port it over to 0.9 and submit it to Niko, but I would like to hear if maybe he has already been working on it himself.
Some information can be found on it, but it's way back in the forums and not easy to dig up. I'm not sure either why it hasn't been paid much attention.
Some information can be found on it, but it's way back in the forums and not easy to dig up. I'm not sure either why it hasn't been paid much attention.
I second etcaptor's suggestion
I would like that as well. Much appreciated if you can do it. No fog and water trasparency in opengl just doesn't look good!etcaptor wrote:Can you post your solution in bug forum?William Finlayson wrote:I have a fix for this that works with 0.8. I would happy to port it over to 0.9 and submit it to Niko, but I would like to hear if maybe he has already been working on it himself.
I have this problem only with Irr08 and Irr09
-
- Posts: 61
- Joined: Mon Oct 25, 2004 12:11 am
I'll try to get it done tomorrow, I just hope that version 0.10 doesn't get released before I'm done
The majority of the work is in the materials file, but there are places in the driver also where some states get set inappropriately, or don't get reset correctly. It took a while to get it done initially, it's a real pain when you think it's done then find that a certain combination of materials don't work together, but hopefully there haven't been many changes to the driver in 0.9 and it'll just be a case of copying the code over.
The majority of the work is in the materials file, but there are places in the driver also where some states get set inappropriately, or don't get reset correctly. It took a while to get it done initially, it's a real pain when you think it's done then find that a certain combination of materials don't work together, but hopefully there haven't been many changes to the driver in 0.9 and it'll just be a case of copying the code over.
Last edited by William Finlayson on Sun Apr 10, 2005 12:18 am, edited 1 time in total.
-
- Posts: 61
- Joined: Mon Oct 25, 2004 12:11 am
Could you please provide a patch for inclusion in the patch page (http://parsys.informatik.uni-oldenburg. ... d/irrlicht)? Otherwise just send me the files so I can prepare a patch. Thanks!William Finlayson wrote:Well, after posting that, I couldn't resist taking a quick peek before going to bed, and it turns out that it was just a case of copying over the changes. I've sent it off to Niko. If anyone else wants the updated files, then just ask and I'll send them via email.