I'm trying to access Bessel function J0 in a shader in Unity. I haven't found any built-in function that does the job. I have calculated 10 000 points of the J0 via python and stored them in a .txt But I don't have any idea how to deal with it.
Asked
Active
Viewed 42 times
0
-
1rather implement the function itself into the shader and let it calculate on the fly? – derHugo Sep 13 '22 at 10:40
-
There is no explicit form of this function. How can I implement it? – BaguetteDeP1 Sep 14 '22 at 11:15
-
`I have calculated 10 000 points of the J0 via python and stored them in a .txt` sounds like you have at least an implementation in python.. so could you not port it into a shader? – derHugo Sep 14 '22 at 12:19
-
I don't know how to do this ^^' – BaguetteDeP1 Sep 15 '22 at 13:20