naavis / haloray

GPU-accelerated atmospheric ice crystal halo simulator

Home Page:https://naavis.github.io/haloray/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C-axis rotation not respected if C-axis orientation distribution is uniform

naavis opened this issue · comments

If C-axis orientation distribution is set to uniform, getUniformRandomRotationMatrix gets called: https://github.com/naavis/haloray/blob/develop/src/simulation/shaders/raytrace.glsl#L355

I think that messes up rotation around the C-axis.

Fix coming up in 68ae0c5

Fixed in v1.1.0.