aoktar wrote:There's a change for compiler that doesn't let you use the positive values of distance. It looks like avoiding to see any results. Probably you need to revise the script for that. See discussionryanaexavier wrote: Have you had a chance to look into the Vectron issues yet?
roeland wrote:You can see from the assignment to the distance in this shader that it never returns negative values:aoktar wrote:We have some report about vectrons are not giving any output. Here's an example to show the weird problem for this. The scene is working well in Standalone 2021.1.5, but cannot see any shape with 2022.1-XB1.
A valid SDF always returns negative values in some region (this is the space that is “inside” the object). If a shader doesn’t return negative values anywhere it is not expected that it will consistently produce some object.Code: Select all
c.dist = sqrt(rr) / Dd;
I appreciate the reply, however, it's a fractal. Do you have any other suggestions on a different distance estimation function that wouldn't require sqrt, but would still be "accurate"