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

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