5 ms·
Portal does not render to texture, it just renders different content, making use of depth/stencil buffers for masking. This can work for plain mirrors, but the
by incrudible 3y ago
Portal does not render to texture, it just renders different content, making use of depth/stencil buffers for masking. This can work for plain mirrors, but the advantage of RTT is that you can sample the texture at arbitrary points, so it can be distorted.
- kaoD 3y agoI didn't mean Portal specific implementation but rather the mechanic. Check the video I linked to. Isn't that RTT?
- incrudible 3y agoIt probably is, but that is a hobbyist implementation. How good RTT looks depends a lot on the resolution, rendering the scene a second time to another high resolution target is not necessarily feasible or justified.
- giwofeh197 3y ago[flagged]
- deleted 3y ago[deleted]