[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

...Should alpha channel ever be non 1? Say I hand paint a texture

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 8
Thread images: 4

File: IMG_0463.png (13KB, 499x600px) Image search: [Google]
IMG_0463.png
13KB, 499x600px
...Should alpha channel ever be non 1? Say I hand paint a texture of a blade of grass that fades out from white to black. I have to make an alpha channel, but does it fade out as well or is it always white?

If its always white, why is it this why? Why can't the alpha fade?

I'm really struggling here, pls help :)
>>
File: transparency.png (821KB, 1423x900px) Image search: [Google]
transparency.png
821KB, 1423x900px
>>504837
Just export to png, it has alpha values for every pixel.
>>
>>504837
>Why can't the alpha fade?

But it can, you idiot
Did you even try to apply the alpha channel or even SLIGHTLY experiment, or did you decide that it's better to post a question on a really slow board and wait 3 hours for the first reply
White = 1
Black = 0
50% Grey = 0.5
And everything in between
>>
>>504864
but is it supposed to fade out in this situation? I have tried and my results were "unpredictable"
>>
>>504883
How about posting the map to clarify what you mean
It's very simple, if you used your OP image as the alpha, the whites are opaque, the black are transparent, so you'd get anything but the outline drawing for it
There will be no fading since there's on black (0) and white (1)
>>
File: capture2.png (235KB, 1042x590px) Image search: [Google]
capture2.png
235KB, 1042x590px
>>504884
Let's say I have a texture of a floating orb going from (.5f, .5f, .5f, 1.f) to (0.f, 0.f, 0.f, 1.f) and it looks like this. It was made with photoshops radial gradient tool with the settings in pic related.

I meed to cut out the black BG so the gradient in the middle appears to "float"

Since my engine prefers TGAs over PNGs I need to make an alpha channel manually. Is my alpha 100% white or does it fade out as well?
>>
>>504889
you make only your alpha have the gradient and make your color solid white or whatever. You don't put any impression of transparency into your color and try to fight it.
>>
File: 1438515316473.jpg (93KB, 806x813px) Image search: [Google]
1438515316473.jpg
93KB, 806x813px
>>504912
This is wrong. OP has a trick question. What he wants is a falloff LIGHTING effect like NdotL but instead he did it in 2D in photoshop with a texture. This will never translate into 3d, not easily at least. OP is confusing partial transparency aka translucency with a NdotL effect on a vec4(1.f) sphere in 3d for his floating sphere (again in 2d).
Thread posts: 8
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.