Initial project import
This commit is contained in:
16
node_modules/three-stdlib/shaders/ACESFilmicToneMappingShader.d.ts
generated
vendored
Normal file
16
node_modules/three-stdlib/shaders/ACESFilmicToneMappingShader.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* ACES Filmic Tone Mapping Shader by Stephen Hill
|
||||
* source: https://github.com/selfshadow/ltc_code/blob/master/webgl/shaders/ltc/ltc_blit.fs
|
||||
*
|
||||
* this implementation of ACES is modified to accommodate a brighter viewing environment.
|
||||
* the scale factor of 1/0.6 is subjective. see discussion in #19621.
|
||||
*/
|
||||
import type { IUniform, Texture } from 'three';
|
||||
import type { IShader } from './types';
|
||||
export type ACESFilmicToneMappingShaderUniforms = {
|
||||
exposure: IUniform<number>;
|
||||
tDiffuse: IUniform<Texture | null>;
|
||||
};
|
||||
export interface IACESFilmicToneMappingShader extends IShader<ACESFilmicToneMappingShaderUniforms> {
|
||||
}
|
||||
export declare const ACESFilmicToneMappingShader: IACESFilmicToneMappingShader;
|
||||
Reference in New Issue
Block a user