SHARE
TWEET

Untitled

a guest Sep 14th, 2017 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private Texture2D background;
  2.         private Texture2D backgroundNormals;
  3.  
  4.         private RenderTarget2D colorMapRenderTarget;
  5.         private RenderTarget2D normalMapRenderTarget;
  6.         private RenderTarget2D shadowMapRenderTarget;
  7.  
  8.         private Color ambientLight = new Color(.1f, .1f, .1f, 1);
  9.  
  10.         private Effect lightEffect;
  11.         private Effect lightCombinedEffect;
  12.  
  13.         private EffectParameter lightEffectParameterScreenWidth;
  14.         private EffectParameter lightEffectParameterScreenHeight;
  15.         private EffectParameter lightEffectParameterNormapMap;
  16.  
  17.         private EffectTechnique lightCombinedEffectTechnique;
  18.         private EffectParameter lightCombinedEffectParamAmbient;
  19.         private EffectParameter lightCombinedEffectParamLightAmbient;
  20.         private EffectParameter lightCombinedEffectParamAmbientColor;
  21.         private EffectParameter lightCombinedEffectParamColorMap;
  22.         private EffectParameter lightCombinedEffectParamNormalMap;
  23.         private EffectParameter lightCombinedEffectParamShadowMap;
RAW Paste Data
Top