public override void LoadContent() { CustomEffect = GameUtilities.Content.Load <Effect>("effects/DirectionalLight"); Texture2D tex = GameUtilities.Content.Load <Texture2D>("Textures/act"); //Texture2D overlay = GameUtilities.Content.Load<Texture2D>("Textures/furtext"); Material = new DirectionalLightMaterial() { Texture = tex }; base.LoadContent(); }
public override void LoadContent() { CustomEffect = GameUtilities.Content.Load <Effect>("effects/NormalPointLight"); Texture2D tex = GameUtilities.Content.Load <Texture2D>("Textures/woodtexture"); Texture2D overlay = GameUtilities.Content.Load <Texture2D>("Textures/Woodnormal"); Material = new DirectionalLightMaterial() { Texture = tex, NoramlTexture = overlay }; base.LoadContent(); }