long_gone Posted January 27, 2022 Share Posted January 27, 2022 Hi everyone, looking for shader that blends 2 images ( source and black-white mask) , smth like this in ue4 https://docs.unrealengine.com/4.27/en-US/Resources/ContentExamples/MaterialNodes/1_8/ Link to comment
Scripting Moderators thisdp Posted January 28, 2022 Scripting Moderators Share Posted January 28, 2022 Maybe this? https://github.com/thisdp/dgs/blob/master/plugin/mask/maskTexture.fx Link to comment
long_gone Posted January 28, 2022 Author Share Posted January 28, 2022 (edited) 21 minutes ago, thisdp said: Maybe this? https://github.com/thisdp/dgs/blob/master/plugin/mask/maskTexture.fx got some weird results... source image / mask: 21 minutes ago, thisdp said: Maybe this? https://github.com/thisdp/dgs/blob/master/plugin/mask/maskTexture.fx source and mask are in .png / I created mask with photoshop, should some spicific settings be applied on source / mask(A channel or smth)? Edited January 28, 2022 by long_gone Link to comment
Scripting Moderators thisdp Posted January 31, 2022 Scripting Moderators Share Posted January 31, 2022 are you using wrong image ? Link to comment
long_gone Posted January 31, 2022 Author Share Posted January 31, 2022 5 hours ago, thisdp said: are you using wrong image ? Yeah, I just forgot to set the mask hah( I'd already figured this out ) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now