这是indexloc提供的服务,不要输入任何密码
Skip to content

Why does depthClearValue default to 0.0? #3777

@mwyrzykowski

Description

@mwyrzykowski

The default depth clear value in most graphics APIs is 1.0, as 1.0 is generally treated as furthest away.

But in the WebGPU specification, it specifies the default value is 0.0:
https://gpuweb.github.io/gpuweb/#dom-gpurenderpassdepthstencilattachment-depthclearvalue

Doesn't this mean most adopters will need to specify the depthClearValue of 1.0 defeating the purpose of the default value?

Metadata

Metadata

Assignees

No one assigned

    Labels

    copyeditingPure editorial stuff (copyediting, *.bs file syntax, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions