Tag Info

New answers tagged


Looks like an issue with the pow function implementation on this particular GPU. When suspecting a bug in a math function replace the math function by its equivalent, for example replace: spec = pow(max(dot(normal, h), 0.0f), specPower) * diffuse; With the bug showing up at specPower=9.0, hard-code it to float temp = max(dot(normal, h), 0.0f); spec = ...

Top 50 recent answers are included