diff --git a/CHANGELOG.md b/CHANGELOG.md index 5092c2c..35d41e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,8 @@ and this project adheres to - Fixed bug where sky was shown a second time outside field of view with equidistant and equal area camera projections - Fixed missing prism face distances from save files +- Fixed bug with slightly incorrect crystal geometry causing uneven brightness + distribution with Parry crystal halos ## 3.2.0 - 2021-03-24 diff --git a/src/haloray-core/resources/shaders/raytrace.glsl b/src/haloray-core/resources/shaders/raytrace.glsl index 20da1b8..1d63cb8 100644 --- a/src/haloray-core/resources/shaders/raytrace.glsl +++ b/src/haloray-core/resources/shaders/raytrace.glsl @@ -130,11 +130,11 @@ ivec3 triangles[] = ivec3[]( ivec3(15, 16, 10), // Face 7 (prism) - ivec3(10, 16, 17), + ivec3(10, 16, 11), ivec3(16, 17, 11), // Face 8 (prism) - ivec3(11, 17, 12), + ivec3(11, 17, 6), ivec3(17, 12, 6) );