Skip to content

Conversation

@mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented Feb 3, 2026

Summary

Updates the material-refraction example to use a proper IOR value (1.0 / 1.33 for water) instead of 1.0.

This is a follow-up to #8311 which fixed IOR/refractionIndex being ignored in materials. The fix revealed that the example was using refractionIndex = 1.0, which produces no refraction (IOR ratio of 1.0 means light passes straight through without bending). The example previously appeared to work because the bug caused custom IOR values to be silently ignored, defaulting to glass-like refraction.

@mvaligursky mvaligursky merged commit fba4ea3 into main Feb 3, 2026
8 checks passed
@mvaligursky mvaligursky deleted the mv-material-refraction-dynamic-example-fix branch February 3, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants