Hot answers tagged

1

This technique is called MRT'S or Multiple Render Targets, and employs the use of additional Framebuffers. Why is this used? Because when wanting to achieve certain screen space effects, whether it is screen space lighting or ambient occlusion, it is quite efficient to store certain scene parameters as textures. Imagine a scene with hundreds of lights ...


1

Yeah, it's not necessary. When you detect a collision between A & B you should do something like: if (detectCollision(A, B)) { A.resolveCollision(B); B.resolveCollision(A); } This may not be how you do it, but you get the idea! If it is a problem that A has had it's values changed after resolving collision with B you could store the variables ...



Only top voted, non community-wiki answers of a minimum length are eligible