public HdrCombinePass(Renderer renderer) : base(renderer) { hdrCombineEffect = Game.Instance.ContentManager.Load <Effect>("Effects/HdrCombine"); randomOffset = new DoublyIntegratedVector2 ( Vector2.Zero, new Vector2(0.002f, 0.002f), 0.0f, 0.0f, -0.4f, 0.4f ); }
public EnvironmentRenderable(double timestamp, int renderPriority, Vector3 scale, Quaternion rotation, Vector3 position, Model model, Texture2D diffuseTexture, Texture2D specularTexture, Texture2D normalTexture) : base(timestamp, renderPriority, scale, rotation, position, model, diffuseTexture, specularTexture, normalTexture) { randomOffset = new DoublyIntegratedVector2 ( Vector2.Zero, new Vector2(0.0002f, 0.0002f), 0.0f, 0.0f, -0.0004f, 0.0004f ); RenderChannel = RenderChannelType.Three; IsShadowCaster = false; }
public IslandRenderable( double timestamp, int renderPriority, Vector3 scale, Quaternion rotation, Vector3 position, Model model, Texture2D diffuseTexture, Texture2D specularTexture, Texture2D normalTexture) : base(timestamp, renderPriority, scale, rotation, position, model, diffuseTexture, specularTexture, normalTexture) { randomOffset = new DoublyIntegratedVector2 ( Vector2.Zero, Vector2.Zero, 0.0f, 0.0f, -1.0f, 1.0f ); RenderChannel = RenderChannelType.Three; SetDefaultMaterialParameters(); }