DoubleSided transmission unsupported with WEBGL_multisampled_render_to_texture
(Oculus Browser)
#28131
Labels
WEBGL_multisampled_render_to_texture
(Oculus Browser)
#28131
Description
When transmissive materials are set to
DoubleSided
the transmissive objects are rendered in two passes (see: #25502). The back side of the transmissive objects are rendered into thetransmissiveRenderTarget
while using the intermediate result of thetransmissiveRenderTarget
. This works as the target is multi-sampled and uses two textures under the hood.However, when the
EXT_multisampled_render_to_texture
is supported by the browser, it is used instead of the two textures approach. In this case rendering the back-sides fails as source and destination textures are the same.Reproduction steps
WEBGL_multisampled_render_to_texture
Code
Live example
The bug is present in both
webxr_vr_sandbox
andwebgl_materials_physical_transmission
.Screenshots
WEBGL_multisampled_render_to_texture
WEBGL_multisampled_render_to_texture
Version
r163
Device
Headset
Browser
Chrome
OS
Android
The text was updated successfully, but these errors were encountered: