Print at Dec 18, 2025, 12:04:55 PM

Posted by YGYL at Nov 28, 2023, 3:19:55 PM
cool   Re: Light refraction and mirror effect rendering.
I have inverted the normals of the back and front faces of the flat cover, and now there is no mirror effect at all.

It seems to be linked to normals, I will have to investigate this.




https://www.mediafire.com/view/ufljos54lgigj74/20231128224736.png/file

Since I've briefly looked into this before, let me tell you about it
This is supposed to be a bug in the JAVA rendering engine. it triggers when the view angle is large.
First of all, this rendering engine doesn't support many parameters in .mtl. It only supports the most basic 3 parameters, so no matter how you change them in .mtl, it will be the same.
The D parameter inside .mtl has to be as low as 0.1 to have any effect. And the same problem of incorrect refraction

To solve this problem is not difficult, there is a simple way: replace the default glass color with a translucent solid color texture.
The downside is that the throughput is greatly reduced, which requires adding a few times the brightness of the light.
I hope that the official feature of "replacing the default glass color with a solid color texture" will be added.