Open yuxinabc opened 1 month ago
Looks like a problem with refraction
Looks like a problem with refraction
The material becomes 100% transparent under orthogonal projection, as if it turned into air. How should I set the refraction?
I'm not sure refraction works with an ortho projection.
⚠️ Issues not using this template will be systematically closed.
Describe the bug A clear and concise description of what the bug is. The same material and the same setting parameters result in different display effects between perspective projection and orthographic projection.
To Reproduce Set perspective projection:
Set up orthographic projection:
Set material parameters:
material.mat:
Expected behavior The display effect of orthogonal projection is the same as that of perspective projection.
Screenshots
https://github.com/google/filament/assets/6195253/ee60cd2c-2e22-453d-883c-565f77e20e93
https://github.com/google/filament/assets/6195253/0abadbe3-95c4-4726-9288-996f7caa26c0
Smartphone (please complete the following information):