3 ms·
Doesn't this only work because the square is a uniform color?
by maaku 14y ago
Doesn't this only work because the square is a uniform color?
- shurcooL 14y agoYes, the existing code could not handle overlapping objects of different colours, nor textured objects. However, in theory, the technique and code can be extended to handle those cases. It's just more demanding computationly-wise. Adding overlapping objects of different colours is somewhat easier (but still hard) than adding textures.
- shurcooL 14y agoTo make overlapping geometry possible, UAVs could be used. See here: http://www.gamedev.net/topic/622099-representing-interval-set-with-values-for-pixel-values/ http://www.gamedev.net/topic/622099-representing-interval-se... It's the same technique that can be used to achieve Order Independent Transparency.