Re: [osg-users] 回复: Re: multi translucent g eometry

2008-07-14 Thread Rick Pingry
That reminds me of an issue I have not resloved yet. Our space ships have thruster engines and I use an image map with transparency and point it back at the camera to make a pretty glow around it. (First off, is this the best way to do it? I have thought that perhaps a shader would work better,

Re: [osg-users] 回复: Re: multi translucent g eometry

2008-07-14 Thread Paul Speed
I'm no expert in this area but have had to do some pretty weird things in the past to get transparency working right for some odd scenes... One thing you might try is to disable z-buffer writes (not tests) for the flares. Depending on your blending, this can add other types of artifacts but I

Re: [osg-users] 回复: Re: multi translucent g eometry

2008-07-14 Thread Peter Wraae Marino
Hi Rick, I agree with Paul. Turn off your z-buffer. If this effect is for thrusters then you should perhaps look into additive blending instead and this should create a better effect.. the more thrusters the brighter the become. A screenshot of your problem would help a lot (if possible).