We were calculating these values for every light and for every surface, which seems a little excessive... Also made the variable names a bit more sensible - we had stored a direction vector, not the actual mangle values. Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net> |
||
|---|---|---|
| .. | ||
| common | ||
| light | ||
| vis | ||