Starting from version 0.137 fog with non transparent materials does not work correctly

add this line to fix your shader in codesandbox:

1 Like