Пример #1
0
            public void Generate(ShaderMixinSourceTree mixin, ShaderMixinContext context)
            {
                {
                    #line 43
                    var __subMixin = new ShaderMixinSourceTree()
                    {
                        Name = "ParadoxGBufferShaderPass", Parent = mixin
                    };
                    mixin.Children.Add(__subMixin);

                    #line 43
                    context.BeginChild(__subMixin);

                    #line 43
                    context.Mixin(__subMixin, "ParadoxGBufferShaderPass");

                    #line 43
                    context.EndChild();
                }

                #line 47
                context.RemoveMixin(mixin, "NormalVSStream");

                #line 48
                context.RemoveMixin(mixin, "SpecularPowerMap");

                #line 49
                context.RemoveMixin(mixin, "SpecularPowerPerMesh");

                #line 52
                context.Mixin(mixin, "NormalVSGBuffer");

                #line 54
                context.Mixin(mixin, "SpecularPowerGBuffer");
            }
Пример #2
0
 public void Generate(ShaderMixinSourceTree mixin, ShaderMixinContext context)
 {
     {
         var __subMixin = new ShaderMixinSourceTree()
         {
             Name = "ParadoxGBufferShaderPass"
         };
         context.BeginChild(__subMixin);
         context.Mixin(__subMixin, "ParadoxGBufferShaderPass");
         context.EndChild();
     }
     context.RemoveMixin(mixin, "NormalVSStream");
     context.RemoveMixin(mixin, "SpecularPowerMap");
     context.RemoveMixin(mixin, "SpecularPowerPerMesh");
     context.Mixin(mixin, "NormalVSGBuffer");
     context.Mixin(mixin, "SpecularPowerGBuffer");
 }
Пример #3
0
            public void Generate(ShaderMixinSourceTree mixin, ShaderMixinContext context)
            {
                {
                    #line 19
                    var __subMixin = new ShaderMixinSourceTree()
                    {
                        Name = "GBufferShaderPass", Parent = mixin
                    };
                    mixin.Children.Add(__subMixin);

                    #line 19
                    context.BeginChild(__subMixin);

                    #line 19
                    context.Mixin(__subMixin, "GBufferShaderPass");

                    #line 19
                    context.EndChild();
                }

                #line 22
                context.RemoveMixin(mixin, "PositionVSStream");

                #line 23
                context.RemoveMixin(mixin, "NormalVSStream");

                #line 24
                context.RemoveMixin(mixin, "SpecularPowerPerMesh");

                #line 27
                context.Mixin(mixin, "NormalVSGBuffer");

                #line 28
                context.Mixin(mixin, "PositionVSGBuffer");

                #line 29
                context.Mixin(mixin, "SpecularPowerGBuffer");
            }