Esempio 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"));
        }
Esempio 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"));
        }