Transparent PNG items

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Transparent PNG items

by Krock » Sat Jan 11, 2014 20:30

Hello,

I noticed, the (part-) transparent contents of the images of tools have some problems.
In my mod I've one of those:
Image
And when I drop to on the ground, then the transparent parts become opaque. (is this a correct word?)
Very good example:
Image

Is this an OpenGL fail of one of minetest?
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Sat Jan 11, 2014 23:09

Use 100% or 0% transparency on your texture. In GIMP you can use: Layers => Transparency => Alpha Threshold.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

by Krock » Sun Jan 12, 2014 16:50

Hybrid Dog wrote:I think only the parts that are more than half transparent get opaque and the other ones disappear.
use_texture_alpha should fix this but I don't know if it works with objects

It didn't change anything...sadly.

Calinou wrote:Use 100% or 0% transparency on your texture. In GIMP you can use: Layers => Transparency => Alpha Threshold.

Well I know of that but transparent parts look much nicer :/
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 12 guests