Re: [CsMain] csfxFadeTo() behind the meshes
"res" <[email protected]> Wed, 18 Apr 2012 10:12:16 +0200
| Newsgroups | gmane.comp.graphics.crystalspace.general |
|---|---|
| Message-ID | <[email protected]> |
> Hello Crystalspace team, > For a game, I need to display an overlay texture above everything else > on the screen, with variable opacity. I found the function csfxFadeTo() > in walktest (F6 command). I wanted to try it in a minimal code example, > so took the Simple1 tuto. It works well, the texture is actually > displayed, but unlike in walktest : > > - this csfxFadeTo() texture is on the background (I mean behind all > meshes) instead of the foreground. Any idea on how to set it above any > mesh? Or maybe some advice about another way for such overlay feature? When do you call the csfx function? It almost sounds like you're drawing it _before_ the 3D scene. The drawing by the csfx function itself has depth buffer interaction disabled, so “3D scene drawn after” is right now the best explanation I can think of. -f.r. -- NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone! Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[email protected]?subject=unsubscribe