Exemple #1
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static WaterEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = EffectsGlobal.MakePackUri("Effects/FX/WaterEffect.ps");
 }
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static ColorMinEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = EffectsGlobal.MakePackUri("Effects/FX/ColorMinEffect.ps");
 }
Exemple #3
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static DarkHighlightEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = EffectsGlobal.MakePackUri("Effects/FX/DarkHighlightEffect.ps");
 }