Baking.md (762B)
1 # Baking 2 3 CS 331 W11 Lecture 2 4 5 **Definition:** The process of precomputing. Another term for this is statically computed (not dynamically computed ie realtime). 6 7 There are two different types of precomputing we can implement: 8 9 1. Lossless 10 11 2. Lossy 12 13 With lossless precomputing the quality is equal but performance is better while with lossy precomputing we have better performance at the cost of worse quality. An example of improved performance without loss in quality is precomputing bounding planes instead of calculating them based on points each time collision detection is called. An example of lossy precomputing would be to bake in shadows so they don't need to be recomputed, but this could cause issues with angles and changes over time in light. 14