public ModelRenderer(Device device, Model model)
        {
            _device = device;
            Model = model;

            RenderParameters = new RenderParameters();

            CompileShaders(Path.Combine("Textures", "Texture.dds"), Path.Combine("Shaders", "Tessellation.hlsl"));
        }
Beispiel #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"));
        }