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

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