MCprep
MCprep copied to clipboard
Can't see cloud and its shadows when it's behind a transparent object
Did the issue happen after restarting Blender?
- [X] Yes, the issue indeed continued after restarting Blender
Check known issues
- [X] I have checked known issues, and my problem is different
What happened?
I was wondering why my scene's objects appear brighter when it's behind a texture with alpha transparency. Turns out it's because of the cloud affecting my lighting.
I discovered that it was because of the cloud's material, that it's using Light Path node's "Transparent Depth" to hide the part that's being obscured. Using "Transparent Depth" also makes it so that you can't see the clouds (or its shadows) when you're seeing it through a glass block with transparency.
Using Light Path's Transparent Depth:
I've tried using backfacing instead and it seemed to fix seeing the clouds through a glass block. However, a different problem occurred that you can now see the clouds behind itself when you're not supposed to.
Using Geometry's Backfacing:
What steps are needed to produce the bug?
Click "Create MC Sky" from McPrep and include clouds Create a glass block with alpha connected to alpha (so it's transparent) Put the glass block in front of the camera and look at the clouds and its casted shadows
What version of MCprep are you using?
3.5.3
What version of Blender are you using?
3.6.8
Seems like an issue caused by #463. Tagging @TheDuckCow
@TheDuckCow I think we should revert the change brought by #463, since it does seem to cause some weird problems in certain cases and view angles.