-
Hi, this question is relative to this concerning the hole in the rectangle. All is fine, I draw my invisible texture in the depth buffer, I have my hole, but when I want to erase all the screen to reset it, I can't remove the renderable wich have the depth buffer texture. So when I re-create an other wall after, I always have the hole persistent on my screen (so when I draw the new wall, it have the last hole on it). Is it a way to clear or remove the renderable drawn in the depth buffer? I don't know if my question is understandable? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You cannot clear the depth buffer partly through the frame no (and it would be inefficient/lead to rendering bugs most likely). |
Beta Was this translation helpful? Give feedback.
You cannot clear the depth buffer partly through the frame no (and it would be inefficient/lead to rendering bugs most likely).