q3map2 -bouncescale values so q3map_bouncescale 1 means 'full reflection'
| switches | -bouncescale value |
|---|---|
-samples 3 -gamma 2 -compensate 4 -patchshadows -v
-skyfix -dirty |
~3.255 |
-samples 3 -gamma 2 -compensate 4 -patchshadows -v
-skyfix |
~1.8125 |
How did you measure these values?
Make a map that's basically a smallish box with all sides textured with a
material that has q3map_bouncescale 1 in it. Put a light in.
Compile with -bounce 9999 and a -bouncescale
test-value f. If bouncing ends, total reflection was below 1
(normally a good thing), and our bouncescale didn't compensate enough
for the low default bouncescale hardcoded into q3map2. Put in higher value.
recompile. repeat.
What does this mean for me?
If you always compile with the correct -bouncescale option, you
can guess a value between 0 and 1 for the reflection
(q3map_bouncescale) of that particular material. E.g. if you're
writing a material for a mirror, you'd want to use a value near to 1. If you're
writing that fancy new blackhole shader, use a value near 0.