Skip to main content

@novorender/web_app / DeviceQuirks

Interface: DeviceQuirks

Known device specific quirks and bugs that we can work around.

Remarks

These problems usually stems from buggy native WebGL drivers. Workarounds may involve disabling certain features or not producing certain outputs.

Properties

adreno600

readonly adreno600: boolean;

Adreno 600 series driver bug. Normals in the picking buffer will be 0 and toon shading will be off.

Defined in

@novorender/core3d/device.ts:118


iosInterpolationBug

readonly iosInterpolationBug: boolean;

Older IOS/Ipad devices don't implement flat shading for float varyings properly and thus introduces interpolation noise, which needs to be rounded off.

Defined in

@novorender/core3d/device.ts:122


slowShaderRecompile

readonly slowShaderRecompile: boolean;

Older Android webgl drivers struggle to compile large shader programs, even asynchronously. To avoid stuttering, disable aggressive recompile, at the expense of overall render performance.

Defined in

@novorender/core3d/device.ts:120