Exemplo n.º 1
0
        public override void ConfigureSlots()
        {
            InputSlots = new CompositorInputSlot[1];
            InputSlots[0] = new CompositorInputSlot("Input", CompositorInputSlotImportance.Required, 0, CompositorSlotType.Texture);

            OutputSlots = new CompositorOutputSlot[1];
            OutputSlots[0] = new CompositorOutputSlot("Output", 0, OutputTexture, CompositorSlotType.Texture);
        }
Exemplo n.º 2
0
        public override void ConfigureSlots()
        {
            Active = true;

            InputSlots = null;
            OutputSlots = new CompositorOutputSlot[1];
            OutputSlots[0] = new CompositorOutputSlot("Begin", 0, null, CompositorSlotType.NoTextureOrValueOutput);
        }
        public override void ConfigureSlots()
        {
            InputSlots = new CompositorInputSlot[4];
            InputSlots[0] = new CompositorInputSlot("InputTexture1", CompositorInputSlotImportance.Required, 0, CompositorSlotType.Texture);
            InputSlots[1] = new CompositorInputSlot("InputTexture2", CompositorInputSlotImportance.Required, 1, CompositorSlotType.Texture);

            InputSlots[2] = new CompositorInputSlot("InputView1", CompositorInputSlotImportance.Required, 2, CompositorSlotType.Texture);
            InputSlots[3] = new CompositorInputSlot("InputView2", CompositorInputSlotImportance.Required, 3, CompositorSlotType.Texture);

            OutputSlots = new CompositorOutputSlot[1];
            OutputSlots[0] = new CompositorOutputSlot("Output", 0, OutputTexture, CompositorSlotType.Texture);
        }
Exemplo n.º 4
0
        public override void ConfigureSlots()
        {
            Active = true;

            InputSlots = null;
            OutputSlots = new CompositorOutputSlot[5];

            OutputSlots[0] = new CompositorOutputSlot("SceneOutput", 0, FrameBufferOutputTexture, CompositorSlotType.Texture);
            OutputSlots[1] = new CompositorOutputSlot("DiffuseColor", 1, FrameBufferColorTexture, CompositorSlotType.Texture);
            OutputSlots[2] = new CompositorOutputSlot("PositionColor", 2, FrameBufferDepthTexture, CompositorSlotType.Texture);
            OutputSlots[3] = new CompositorOutputSlot("NormalColor", 3, FrameBufferNormalTexture, CompositorSlotType.Texture);
            OutputSlots[4] = new CompositorOutputSlot("SpecularColor", 4, FrameBufferSpecularTexture, CompositorSlotType.Texture);
        }