Class

HDRWebGPURenderer

HDRWebGPURenderer(parametersopt)

HDR enabled WebGPURenderer.

Note: Since three.js r180 a plain WebGPURenderer with outputType: HalfFloatType already delivers an HDR canvas (rgba16float with extended tone mapping). Only use this renderer when you need the rec2100-hlg canvas color space (BT.2020 primaries).

Constructor

# new HDRWebGPURenderer(parametersopt)

Creates an instance of HDRWebGPURenderer.

Parameters:
Name Type Attributes Default Description
parameters object <optional>
{}

The parameters for the renderer.

Deprecated:
  • Use WebGPURenderer with `outputType: HalfFloatType` unless you need the `rec2100-hlg` color space
See:

View Source three/HDRWebGPURenderer.js, line 22

  • event:contextrestored
  • event:contextlost

Extends

  • Renderer

Members

boolean

# isWebGPURenderer

Default Value:
  • true

View Source three/HDRWebGPURenderer.js, line 68

boolean

# isWebGPURenderer

Default Value:
  • true

View Source three/HDRWebGPURenderer.js, line 68

StandardNodeLibrary

# library

The generic default value is overwritten with the standard node library for type mapping (parity with WebGPURenderer).

View Source three/HDRWebGPURenderer.js, line 62

StandardNodeLibrary

# library

The generic default value is overwritten with the standard node library for type mapping (parity with WebGPURenderer).

View Source three/HDRWebGPURenderer.js, line 62

HDRWebGPURenderer(parametersopt)

HDR enabled WebGPURenderer.

Note: Since three.js r180 a plain WebGPURenderer with outputType: HalfFloatType already delivers an HDR canvas (rgba16float with extended tone mapping). Only use this renderer when you need the rec2100-hlg canvas color space (BT.2020 primaries).

Constructor

# new HDRWebGPURenderer(parametersopt)

Creates an instance of HDRWebGPURenderer.

Parameters:
Name Type Attributes Default Description
parameters object <optional>
{}

The parameters for the renderer.

Deprecated:
  • Use WebGPURenderer with `outputType: HalfFloatType` unless you need the `rec2100-hlg` color space
See:

View Source three/HDRWebGPURenderer.js, line 22

  • event:contextrestored
  • event:contextlost

Extends

  • Renderer

Members

boolean

# isWebGPURenderer

Default Value:
  • true

View Source three/HDRWebGPURenderer.js, line 68

boolean

# isWebGPURenderer

Default Value:
  • true

View Source three/HDRWebGPURenderer.js, line 68

StandardNodeLibrary

# library

The generic default value is overwritten with the standard node library for type mapping (parity with WebGPURenderer).

View Source three/HDRWebGPURenderer.js, line 62

StandardNodeLibrary

# library

The generic default value is overwritten with the standard node library for type mapping (parity with WebGPURenderer).

View Source three/HDRWebGPURenderer.js, line 62