@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
23 lines (22 loc) • 913 B
TypeScript
/**
* transforms an input color (vec3) from OKLAB color space to RGB
*
* @remarks
*
* This is using the algorithm from Inigo Quilez's https://www.shadertoy.com/view/WtccD7, which is implenting Björn Ottosson's
https://bottosson.github.io/posts/oklab/
*
*/
import { TypedGlNode } from './_Base';
import { ShadersCollectionController } from './code/utils/ShadersCollectionController';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
declare class OklabToRgbGlParamsConfig extends NodeParamsConfig {
oklab: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
}
export declare class OklabToRgbGlNode extends TypedGlNode<OklabToRgbGlParamsConfig> {
paramsConfig: OklabToRgbGlParamsConfig;
static type(): string;
initializeNode(): void;
setLines(shaders_collection_controller: ShadersCollectionController): void;
}
export {};