You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi - it seems that the node which refreshes the texture from the spout stream is doing quite a lot - is it creating a material instance every time?
I'm actually using it to just get a texture which i'm feeding into a material which i've previously made, so to do that I need to call 'Spout Receiver' followed by 'Spout Info From' to get the 'Sender Struct Texture Color' which I need to apply to my material using 'Set Texture Parameter Value' each frame.
Would it be easier to initially get the texture reference, apply it to the material, then just use some kind of 'Refresh Spout' node each tick. BLUI runs like this. The same would apply to the pre-made material - you shouldn't need to make a whole material for each frame, just update the referenced texture.
What do you think?
Thanks for the plugin!
Dan
The text was updated successfully, but these errors were encountered:
Hi - it seems that the node which refreshes the texture from the spout stream is doing quite a lot - is it creating a material instance every time?
I'm actually using it to just get a texture which i'm feeding into a material which i've previously made, so to do that I need to call 'Spout Receiver' followed by 'Spout Info From' to get the 'Sender Struct Texture Color' which I need to apply to my material using 'Set Texture Parameter Value' each frame.
Would it be easier to initially get the texture reference, apply it to the material, then just use some kind of 'Refresh Spout' node each tick. BLUI runs like this. The same would apply to the pre-made material - you shouldn't need to make a whole material for each frame, just update the referenced texture.
What do you think?
Thanks for the plugin!
Dan
The text was updated successfully, but these errors were encountered: