- Home /
Render Transparent Geometry
Hello, I Have Render Transparent Geometry() taking 120 ms in the profiler ! Too much!
How can I reduce it?
I heard something about the Filter mode? I have some big background textures with the top part which is all transparent, should I cut it out? I didn't do it in order to maintain a squared compressed file format. Is it a bad choice?
Answer by Chris-Ender · Mar 09, 2019 at 12:38 PM
Is it a 2D or 3D project?
Maybe you can post a screenshot?
You can use a cutout shader instead of a blending one, the performance change depends on the hardware. You can split the transparent part from the opaque. You can shrink the texture size. You can move all transparent textures to a texture atlas. I would start with the atlas. The transparent objects are sorted by the distance of the game object pivot to the camera. Avoid switching the texture or material when rendering the transparent meshes.