public override IResource create(ResourceManager mgr) { ShaderProgram sp = Renderer.shaderManager.createShader(myShaderDesc, myDefines, myObjName); return(sp); }
public UnlitEffect(ShaderProgram sp) : base(sp) { myFeatures |= Material.Feature.DiffuseMap; }