Exemplo n.º 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");
 }
Exemplo n.º 2
0
 /// <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");
 }
Exemplo n.º 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");
 }