Practical techniques for ray tracing in games