Home Game Development unreal – Two supplies with the very same settings present totally different behaviours

unreal – Two supplies with the very same settings present totally different behaviours

0
unreal – Two supplies with the very same settings present totally different behaviours

[ad_1]

I’ve made a fabric not too long ago with a crimson “A” on high of a glass shader. I had a bunch of issues guaranteeing that the “A” decal was unaffected by the transparency in order that solely the glass shader could be clear, however I one way or the other figured it out:

https://boards.unrealengine.com/t/why-does-texturesample-map-transparency-to-black/672182

I’m making an attempt to reapply one in all my blender supplies to a mesh in UE5. I made a glass vial with some textual content on the surface and I need to create a fabric which makes use of a glass shader onto which I can map my texture, which has a clear background. For some cause, once I use the RGBA output of TextureSample and plug that into the BaseColor for a translucent materials with Surface TranslucentVolume lighting mannequin, my texture doesn’t stay clear the place it’s clear, however turns black… I di…
But now I merely copy and pasted my materials and exchanged the picture texture for an equal inexperienced “B” and one way or the other it doesn’t work anymore. Now the decal is, once more, being affected by the opacity of the glass shader and I don’t know what’s supposedly totally different. It needs to be precisely the identical since all I did was to modifications the supply of the TextureSample node.

What am I lacking?

PS: When I first imported the “B” texture (with clear background, clearly) it confirmed a star within the content material drawer and mentioned the Source Compression was “zlib”. I believed that is perhaps the issue. However, after I saved my recreation and relaunched the editor, it was PNG compressed and didn’t have a star, in order that wasn’t the difficulty, apparently.

Apparently it has one thing to do with what channels I hook up with the opacity, however since I’m a bleeding newbie I do not know what I want to connect with what so as to repair this.

Here’s the pictures of the node setup of the supplies:
The working “A” letter
enter image description here

The “B” one the place the letter is sort of invisible:
enter image description here

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here