Hi, i’m trying to use xray shader but i can’t make it work
i have this result:
i used this shader:
http://www.jmonkeyengine.com/jmeforum/index.php?topic=9184.0
Anybody can help me?
thanks
Hi, i’m trying to use xray shader but i can’t make it work
i have this result:
That screen shot looks remarkably similar to this one.
nymon said:
That screen shot looks remarkably similar to this one.
the answer I'm about to write reads remarkably similar to this one:
dhdd said:
..., but maybe you're missing a BlendState?
dhdd said:
the answer I'm about to write reads remarkably similar to this one:
dhdd said:
..., but maybe you're missing a BlendState?
Ok, i can do it jejejej you alright:
i do:
BlendState mAlphaState = display.getRenderer ().createBlendState ();
mAlphaState.setBlendEnabled ( true );
mAlphaState.setSourceFunctionAlpha ( SourceFunction.SourceAlpha );
mAlphaState.setDestinationFunctionAlpha ( DestinationFunction.OneMinusSourceAlpha );
r1.setRenderState(mAlphaState);
and i have: