Bump Mapping
Multi-pass issues
- App can calculate Lz, pass as color, or use xform hardware
- Watch ranges
- ordinary fb + SUBTRACT tex env = possible clamp (sigh)
- glAccum = extended range, but probably slow
- Multiple textures on newer hardware; one pass
- Extended texture environments required
- Use different env for RGB/texture color vs bump/Alpha