MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / setFog

Function setFog

src/core/index.ts:182–184  ·  view source on GitHub ↗
(r: number, g: number, b: number, density: number, heightRef: number, heightFalloff: number)

Source from the content-addressed store, hash-verified

180
181/** Height-based exponential fog. Density 0 = off. */
182export function setFog(r: number, g: number, b: number, density: number, heightRef: number, heightFalloff: number): void {
183 bloom_set_fog(r, g, b, density, heightRef, heightFalloff);
184}
185
186/** Radial RGB-channel split at the screen edges. 0 = off. */
187export function setChromaticAberration(strength: number): void {

Callers 4

main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90

Calls 1

bloom_set_fogFunction · 0.50

Tested by

no test coverage detected