I have one shader that that creates a mask from performing a series of operations
I have another separate material I would like to use that same mask as a texture.
Is there a way to turn a series of operations to a texture to a rendertexture I could use in another material?
Outputting a new rendertexture from a series of operations
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Outputting a new rendertexture from a series of operatio
Hello!
You will likely have to resort to additional steps to extract a texture from a shader, such as the ones discussed in this thread, as this is beyond the scope of our editor. Have you tried any of the methods discussed there?
If the node setup used to generate the mask can be re-utilized in other shaders, I suggest looking into our Shader Functions.
Please let me know if this helps, thanks!
You will likely have to resort to additional steps to extract a texture from a shader, such as the ones discussed in this thread, as this is beyond the scope of our editor. Have you tried any of the methods discussed there?
If the node setup used to generate the mask can be re-utilized in other shaders, I suggest looking into our Shader Functions.
Please let me know if this helps, thanks!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Re: Outputting a new rendertexture from a series of operatio
thanks- I did the hackiest workaround if anyone else really is ever stuck
I offset'ed my resulting sahder textures, basically turned them into an atlas
have a special planes mesh to map the atlased textures to
then I point cameras at the planes and make rendertextures out of it I can use for anything
I offset'ed my resulting sahder textures, basically turned them into an atlas
have a special planes mesh to map the atlased textures to
then I point cameras at the planes and make rendertextures out of it I can use for anything
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Outputting a new rendertexture from a series of operatio
Interesting, would love to see it in action but, in any case, I'm glad to know that you found an alternative, thank you for sharing it with the community!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!