-
Hi author, would it be possible to change the background color to white (transparent)? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
fbxiang
Jun 12, 2022
Replies: 1 comment 2 replies
-
You can customize the shader following these steps:
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
keiohta
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can customize the shader following these steps:
deferred.frag
(this line:SAPIEN/vulkan_shader/ibl/deferred.frag
Line 242 in 6bc3f4e
outLighting=vec4(1,1,1,0)
sapien.VulkanRenderer.set_viewer_shader_dir
and/orsapien.VulkanRenderer.set_camera_shader_dir
before creating the viewer or the camera. Give it the directory of the modified ibl folder.