Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NaNs are in the background mipmaps. #314

Open
bhouston opened this issue Mar 13, 2023 · 0 comments
Open

NaNs are in the background mipmaps. #314

bhouston opened this issue Mar 13, 2023 · 0 comments

Comments

@bhouston
Copy link
Owner

Screenshot 2023-03-13 at 3 36 29 PM

    // Sample framebuffer to get pixel the refracted ray hits.
    vec4 transmittedLight = getTransmissionSample(
      backgroundTexture,
      refractionCoords,
      material.specularRoughness,
      ior
    );
    DEBUG_OUTPUT(39, transmittedLight.rgb);

The NaNs must be coming from the mipmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant