Talos docs

ProjectRenderShaders

Since 0.6

User shader settings of the project.

Plain text

Fields

FieldTypeRequiredDefaultAllowed valuesDescription
rawbooleannofalseAllow the shader escape hatch: kind: raw (own entry points) and kind: pass (own full-screen or compute pass) *.shader.wgsl files. Default false. Raw shaders skip the sandbox, the cost caps, the automatic variants, HD G-buffer integration, batching and the fallback, and run only on the renderers and targets they declare (docs/SHADERS.md, Escape hatch). With it off, such a file is refused with shader-raw-disabled.
costCapUnitsintegernoRaises the hard cap of a shader's static cost estimate (cost units per pixel; the default hard cap is 2,000 desktop/HD and 600 web/mobile). It can only raise it. A shader above the soft cap still warns.
costCapFetchesintegernoRaises the hard cap of a shader's texture fetches per pixel (default 16 desktop/HD, 8 web/mobile). It can only raise it.