st4lk4r87
Topic Author
Posts: 1
Joined: 13 Jan 2021, 17:56

Unity and Custom ShaderEffect with texture input support

18 Mar 2024, 22:17

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?
 
User avatar
jsantos
Site Admin
Posts: 3925
Joined: 20 Jan 2012, 17:18
Contact:

Re: Unity and Custom ShaderEffect with texture input support

27 Mar 2024, 20:42

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.

Who is online

Users browsing this forum: No registered users and 2 guests