corrections for non-dedicated, and clarity
 shadergen order of operations
restricts gloss values to within a percentile (banding prevention)
no clue if these are the correct values, but does stop texture corruption