
216 V 3D Engine Design
Figure 1.9. The graph tool in the game editor.
from the sphere’s center. The push amount goes from 0 to the maximum
then back to 0 when restoration is done.
3. Deformation to bullets: The framework sends bullet information to the GPU
simulation update shader, which evaluates if a particle falls close to a bullet
and pushes that particle away from the bullet until the bullet passes by a
certain amount. The final effect is as if the particles forming the enemy
boss are being disturbed by the player’s bullets but regain formation when
the bullets pass by.
1.7.5 Rendering
The final output of the entire system is a texture holding each