Hello
Is there anyway to color corret a part of my texture using rgb masking or a blackwhite mask?
im using substance painter for my textures and need to adjust some values in unity using amplify shader editor
coudnt figure out how the masking works
Can someone show me the node structure
RGB masking and color correcting texture
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: RGB masking and color correcting texture
Hello, thank you for getting in touch!
A simple way to achieve this would be by using the Lerp node to blend between the sampled texture and its color adjusted version, where the blending is defined by the mask.
I've set up a sample for your convenience, which should provide a good starting point for this type of effect:
You can also add your own color operations in place of the color node in the above example, to adjust the color of the texture in the way you require.
Please let me know if this helps and if you have any further questions, thanks!
A simple way to achieve this would be by using the Lerp node to blend between the sampled texture and its color adjusted version, where the blending is defined by the mask.
I've set up a sample for your convenience, which should provide a good starting point for this type of effect:
You can also add your own color operations in place of the color node in the above example, to adjust the color of the texture in the way you require.
Please let me know if this helps and if you have any further questions, 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: RGB masking and color correcting texture
Thanx for the reply That was exactly what ı am looking for
am i just limited with black and white masks?
Can i use red green blue masks for different parts of my uv layout? and use them as input?
Also which other color operators i can use in these situations?
Thank you
am i just limited with black and white masks?
Can i use red green blue masks for different parts of my uv layout? and use them as input?
Also which other color operators i can use in these situations?
Thank you
- Attachments
-
- texture color change.JPG (81.82 KiB) Viewed 6522 times
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: RGB masking and color correcting texture
No problem!
You may use one mask per channel ( R, G, B and A ), and we also provide a sample in AmplifyShaderEditor > Examples > Community > SingleChannelMasking that shows how to convert a single greyscale mask into 5 different black and white masks.
Please let me know if this helps, and if you have any further questions.
You may use one mask per channel ( R, G, B and A ), and we also provide a sample in AmplifyShaderEditor > Examples > Community > SingleChannelMasking that shows how to convert a single greyscale mask into 5 different black and white masks.
Please let me know if this helps, and if you have any further questions.
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!