UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

29 lines (28 loc) 648 B
var tonemapping_default = ` #ifndef TONEMAP_NO_EXPOSURE_UNIFORM #if TONEMAP != NONE uniform float exposure; float getExposure() { return exposure; } #else float getExposure() { return 1.0; } #endif #endif #if (TONEMAP == NONE) #include "tonemappingNonePS" #elif TONEMAP == FILMIC #include "tonemappingFilmicPS" #elif TONEMAP == LINEAR #include "tonemappingLinearPS" #elif TONEMAP == HEJL #include "tonemappingHejlPS" #elif TONEMAP == ACES #include "tonemappingAcesPS" #elif TONEMAP == ACES2 #include "tonemappingAces2PS" #elif TONEMAP == NEUTRAL #include "tonemappingNeutralPS" #endif `; export { tonemapping_default as default };