Skip to main content
gamedev.net
🔒 Locked

Shockwaves

Started by Exellon 3 replies 250+ views
Original Post
Exellon
Exellon
You know how when a jet plane goes by close to the ground that the air gets distorted behind it in it''s shockwave like the air over a grill? Is there any simple way to make those air distortions?
falsk
falsk
do you mean a vortex?
Exellon
Exellon
No, actually I wasn''t really talking about shockwaves in particular. I was wondering how to do that heat wave effect that you see above the grill.
TerranFury
TerranFury
Well, if you''re doing it to hardware, then I think the best way to do it would be this:

Render the area to a texture. Then, map that texture onto a grid of quads. Randomly displace some of the verteces in that grid. Now render the quad where the original section would have been.

In a high-quality raytracer, this would involve distorting rays using some sort of volumetric air-density map. This gets into advanced optics I know nothing about.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.