Read from the depth buffer in WebGPU

24 views
Skip to first unread message

Philip Taylor

unread,
Sep 18, 2024, 5:02:36 PM9/18/24
to webgl-d...@googlegroups.com
Anyone have any resources on how to read from the depth buffer in WebGPU?

I am implementing a custom depth test in a fragment shader 
I just need some simple example code. 

Thanks
--
Philip TAYLOR
CTO, Zea Inc.
Montréal, Québec
The contents of this e-mail are confidential with all rights reserved to the author. It is illegal to use or divulge this information without authorization. If you have received this e-mail by mistake, please notify me immediately by replying to the e-mail. 

Philip Taylor

unread,
Sep 18, 2024, 5:04:47 PM9/18/24
to webgl-d...@googlegroups.com

Ken Russell

unread,
Sep 18, 2024, 5:23:26 PM9/18/24
to webgl-d...@googlegroups.com
Glad you figured it out Philip.

Note also the WebGPU Matrix chat room at https://matrix.to/#/#WebGPU:matrix.org - you'll get more targeted answers to your WebGPU questions there.

-Ken



--
You received this message because you are subscribed to the Google Groups "WebGL Dev List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webgl-dev-lis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/webgl-dev-list/CAC7g9xSOwh1N3Ecd96%3DvPJY%2BvFdihGZF-wFoFWMomrY3_QWCoA%40mail.gmail.com.

Philip Taylor

unread,
Sep 19, 2024, 10:02:42 AM9/19/24
to webgl-d...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages