Fragment output of VisibilityFilter
isn't premultiplied
#8473
Labels
Milestone
VisibilityFilter
isn't premultiplied
#8473
What happened?
explored
isn't premultiplied, butgl_FragColor
needs to be (blendMode
isNORMAL
). The explored fog is brighter than it should be at the moment.Also
(exploredColor * reflec) + (baseColor.rgb * exploredColor)
might yield values larger than 1. Shouldn't there be amin(..., vec3(1.0))
?Another minor issue:
canvas.effects.visibility.filter.blendMode
isundefined
.VisibilityFilter
doesn't define a getter forblendMode
but a setter; the setter forblendMode
doesn't seem to serve any purpose.What ways of accessing Foundry can you encounter this issue in?
Reproduction Steps
Good settings to see the difference: Set fog explored and unexplored colors to
#ffffff
and Darkness Level to 0.5.What core version are you reporting this for?
Version 10 Stable 4 (build 288)
Relevant log output
No response
Bug Checklist
The text was updated successfully, but these errors were encountered: