will be possible in the future to add custom scripts / function in node material editor ?
I think you’re talking about custom blocks? Here’s the documentation for them, I have a few simple blocks that I could post too for more examples if that’s what you’re after.
This is exactly what i need !!! Thanks sm!!
Right on, here’s some more custom blocks you can check out too for more examples.
can we reference a sampler2d or create a block for it?
You can use the Texture block for that.
hmm not exactly what i needed, noticed in some posts that creating a sampler2d block is not yet implemented, so i had to do a hacky way to reference the sampler2d i needed
ImageSourceBlock should be what you are after.
It can be connected to multiple
Texture blocks by their
Yes that’s what i ended up using