mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 13:30:06 +00:00
Get rid of white/max reflectivity bins due to unsigned integer underflow
This commit is contained in:
parent
5be8d7b7c0
commit
e93697b162
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ layout (location = 0) out vec4 fragColor;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
float texCoord = float(dataMoment - uDataMomentOffset) / uDataMomentScale;
|
float texCoord = (float(dataMoment) - float(uDataMomentOffset)) / uDataMomentScale;
|
||||||
|
|
||||||
if (uCFPEnabled && cfpMoment > 8u)
|
if (uCFPEnabled && cfpMoment > 8u)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue