Mix Texture and images with alpha channel

Forums: Mix Texture and images with alpha channel
Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)

Re: Mix Texture and images with alpha channel

Postby Andreas_Resch » Sat May 20, 2023 11:10 am

Andreas_Resch Sat May 20, 2023 11:10 am
I probably didn't make myself clear enough. I want to overlay a transparent image that contains BOTH RGB information AND has transparency in it as well. For now I (as I don't know it better yet), I always have to create two nodes (RGB Image as well as Alpha Image) for each image that I want to overlay. But that will always result in twice the work, for creating as well as changing the images. In Blender I have two output sockets on the image node - one for the RGB information and one for the Alpha information. And if I want to change that image I only have to reload the image once.

Here's the image I want to overlay ... http://www.argfx.at/upload/smiley.zip
Andreas_Resch
 
Posts: 269
Joined: Sat Jul 28, 2018 6:29 am

Re: Mix Texture and images with alpha channel

Postby J.C » Sat May 20, 2023 11:45 am

J.C Sat May 20, 2023 11:45 am
As I said in previous reply, RGB or Grayscale image node does not output alpha channel. You need to use Alpha Image node to get alpha channel from an image.
In the end you will have two texture nodes, one for alpha and one for rgb information.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1723
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: Mix Texture and images with alpha channel

Postby Andreas_Resch » Sat May 20, 2023 11:57 am

Andreas_Resch Sat May 20, 2023 11:57 am
Sometimes you have to take the bumpy road. Thanks anyway.
Andreas_Resch
 
Posts: 269
Joined: Sat Jul 28, 2018 6:29 am

Re: Mix Texture and images with alpha channel

Postby J.C » Sat May 20, 2023 12:39 pm

J.C Sat May 20, 2023 12:39 pm
Andreas_Resch wrote:Sometimes you have to take the bumpy road. Thanks anyway.


I wish it was easier too.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1723
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: Mix Texture and images with alpha channel

Postby Andreas_Resch » Sat May 20, 2023 12:42 pm

Andreas_Resch Sat May 20, 2023 12:42 pm
The day will come when one of the devs will realize that there are file formats now that can store transparency as well ;)
Andreas_Resch
 
Posts: 269
Joined: Sat Jul 28, 2018 6:29 am

Re: Mix Texture and images with alpha channel

Postby elsksa » Sat May 20, 2023 2:05 pm

elsksa Sat May 20, 2023 2:05 pm
What J.C wrote. In my case (Standalone), the selection of the "image type" can be done during import, while in Octane Blender, it's only via a dedicated node to add beforehand (as far as I know).

Andreas_Resch wrote:The day will come when one of the devs will realize that there are file formats now that can store transparency as well ;)

They do, and there are no issues whatsoever. Everything one would need is supported and works. However, I would rather say "the day when people will know how to properly encode “alpha” in appropriate file formats".
elsksa
Licensed Customer
Licensed Customer
 
Posts: 784
Joined: Sat Jul 24, 2021 1:06 am

Re: Mix Texture and images with alpha channel

Postby Andreas_Resch » Sat May 20, 2023 2:10 pm

Andreas_Resch Sat May 20, 2023 2:10 pm
It doesn't really make a difference if there are two dedicated nodes or two equal nodes with a different purpose selected for them. It's still two nodes. And not sure about the second comment. If there is a proper way about how to encode a transparent file that will allow me to get to a solution that requires just one image node, please share it with us. It might be helpful for a lot of users.
Andreas_Resch
 
Posts: 269
Joined: Sat Jul 28, 2018 6:29 am
Previous

Return to Blender


Who is online

Users browsing this forum: No registered users and 38 guests

Sat Apr 27, 2024 7:22 am [ UTC ]