Method | Description | |
---|---|---|
DeferredSpriteEffect ( ) : System | ||
setAlphaCutoff ( float alphaCutoff ) : |
alpha cutoff for the alpha test. defaults to 0.3
|
|
setNormalMap ( Microsoft.Xna.Framework.Graphics.Texture2D normalMap ) : |
||
setSelfIlluminationPower ( float selfIlluminationPower ) : |
controls the power of the self illumination where 0 is no contribution and 1 is fully self illuminated
|
|
setUseNormalAlphaChannelForSelfIllumination ( bool useNormalAlphaChannelForSelfIllumination ) : |
if true, the normal map alpha channel will be used for self illumination. Note that you need to turn off premultiplied alpha in the Pipeline tool when using the alpha for self illumination!
|
public setAlphaCutoff ( float alphaCutoff ) : |
||
alphaCutoff | float | Alpha cutoff. |
return |
public setNormalMap ( Microsoft.Xna.Framework.Graphics.Texture2D normalMap ) : |
||
normalMap | Microsoft.Xna.Framework.Graphics.Texture2D | |
return |
public setSelfIlluminationPower ( float selfIlluminationPower ) : |
||
selfIlluminationPower | float | Self illumination power. |
return |
public setUseNormalAlphaChannelForSelfIllumination ( bool useNormalAlphaChannelForSelfIllumination ) : |
||
useNormalAlphaChannelForSelfIllumination | bool | If set to |
return |