Esempio n. 1
0
        public override IResource create(ResourceManager mgr)
        {
            ShaderProgram sp = Renderer.shaderManager.createShader(myShaderDesc, myDefines, myObjName);

            return(sp);
        }
Esempio n. 2
0
 public UnlitEffect(ShaderProgram sp) : base(sp)
 {
     myFeatures |= Material.Feature.DiffuseMap;
 }