Unity and Custom ShaderEffect with texture input support
Greetings!
I've just begun using Noesis in my Unity project and I'm currently attempting to migrate a material/shader to the new system. This shader I'm working with requires 2 textures as input parameters, but I'm uncertain if it's feasible to utilize a custom ShaderEffect to accomplish this on an <Image> element. It seems that only built-in/simple types are supported for constant parameters.
If this isn't possible, what alternatives do I have to achieve the same outcome? Is there a method to apply a custom material to a specific element within my Noesis view?
I've just begun using Noesis in my Unity project and I'm currently attempting to migrate a material/shader to the new system. This shader I'm working with requires 2 textures as input parameters, but I'm uncertain if it's feasible to utilize a custom ShaderEffect to accomplish this on an <Image> element. It seems that only built-in/simple types are supported for constant parameters.
If this isn't possible, what alternatives do I have to achieve the same outcome? Is there a method to apply a custom material to a specific element within my Noesis view?
Re: Unity and Custom ShaderEffect with texture input support
You can use a Shader Brush. They are similar to effects, but more efficient because they don't require an extra offscreen phase.
CrossFadeBrush is an example of shader brush that mixes two images.
CrossFadeBrush is an example of shader brush that mixes two images.
Who is online
Users browsing this forum: Semrush [Bot] and 7 guests