I'm new to Blender and 3D in general.
I have a single object (mesh), a plane, and no lights and I've set an environment (world?) for my scene. Now, I want to export the scene to GLTF and want to bake the shadows on the plane (the very soft shadows of the object resulted from the environment lights).
I've enabled transparency in
Film section and have also made the plane a shadow catcher:
When I bake the ambient occlusion for the plane (note that it seems to be important for the color space of the image node to be
Non-Color), it results in black and white image. The black is good. I want the white to be transparent:
And here is the result GLTF in the browser (using Three.js library):
So, again, how can I have the plane with only its shadows and the rest transparent?