Exemplo n.º 1
0
        public ModelRenderer(Device device, Model model)
        {
            _device = device;
            Model = model;

            RenderParameters = new RenderParameters();

            CompileShaders(Path.Combine("Textures", "Texture.dds"), Path.Combine("Shaders", "Tessellation.hlsl"));
        }
Exemplo n.º 2
0
        public ModelRenderer(Device device, Model model)
        {
            _device = device;
            Model   = model;

            RenderParameters = new RenderParameters();

            CompileShaders(Path.Combine("Textures", "Texture.dds"), Path.Combine("Shaders", "Tessellation.hlsl"));
        }