Closed valmme closed 6 months ago
This is due to the near clip plane. Assigning a shader to the camera will set this to 1, since shaders using the depth texture will break otherwise. You can change the near clip plane this by setting camera.clip_plane_near
@pokepetter Thanks
I make the game and to create a player, I use the FirstPersonController class. I also use the shader
pixelation_shader
. But with shaders there is a problem. I made a room in the game out of rectangular entities, but if I use any shader, the player can see through these walls when he get too close. When I remove the import of this shader, the bug is corrected