Christian Riekoff
Christian Riekoff
Attributes are resolved where they are found first in the graph causing an error with if regions as the tmp variable is only visible in that if region
looks like an else input is not always passed through might be related with delegates look in example patch in R&D is wokring with add scale 0 hack
We want to find a better way to handle delegates without strange templating syntax prefarebly by using mixins here is a proposal in shader code. First write an abstract shader...
Might make sense to integrate those? https://github.com/BrianSharpe/GPU-Noise-Lib/blob/master/gpu_noise_lib.glsl
Find a time slot to look at this together
https://github.com/blender/blender/blob/594f47ecd2d5367ca936cf6fc6ec8168c2b360d0/source/blender/blenkernel/intern/particle_system.c implementation is in line 1403
There seems to be a bug looks like this return a wrong string some times so instead returning the string directly for now