Пример #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");
 }
Пример #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");
 }
Пример #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");
 }