Yeah. Both the equation and the code for the inverse transform are wrong in that post. I should have written that line as:
vec4(s*v.xyz, s-1.0)
It is correct in the "toy" C code that is linked and used to produce the plots.
=> More informations about this toot | View the thread | More toots from mbr@mastodon.gamedev.place
text/gemini
This content has been proxied by September (ba2dc).