Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: The Pixel Artist on 2014-01-26, 22:29:06
-
There seems to be an issue with TIFF (and I think PNG/TGA/ETC) images that have alpha mask channels and being use in the opacity slot not rendering correctly, either in the preview window or when rendered. Seems like the alpha channels is being flipped, but inverting the texture does not help.
Example image attached.
-
what if you set alpha source to None in the texture?
-
Doesn't seem to make any difference unfortunately. I've attached the actual texture (but all TIFF/alpha textures I've try do the same).
-
it should work if you set the alpha source to none in both diffuse and opacity textures, not just diffuse
-
I actually did try try that, but it makes the whole object almost ghost-like. See image.
Typically, with vray/MR/etc, you can just use the can TIFF image, instanced in both the diffuse and opacity slots, setting the mono channel to alpha and the alpha source to "Image Alpha", using the Premulitplied Alpha option
-
I am not sure, but I think inserting the CoronaMapOutput map between the bitmap and the material opacity slot might help. It worked for me, at least.
-
I´ve had the exact same problem with TIFFs and did everything you´ve said, Keymaster. The only workaround I found so far was to create an extra b&w-image ;-) Using Alpha 5 btw.
BR
Nupsi
-
crap. Looks like there is a bug in 3dsmax here, because "use alpha as output" is not working correctly for RGB values
-
I am not sure if I am doing something wrong here, but I am using Corona Version Alpha 6 with Max Design 2014 SP5. In the material opacity color slot, I placed a PNG file with transparency of a tree leaf. For some reason it doesnt map it right over the diffuse slot. I have tried every combination of Mono channel outputs, RGB Channel Output and Alpha source and with and without the Premultiplied Alpha check box (also the same with a TIFF file with alpha channel and transparency). It does work if I have a simple black and white JPG map for opacity. Am I doing something wrong or is this something that needs to be fixed in Corona.
Otherwise, Corona - AWESOME!!!
Okay, I guess i didn't read all the posts in this thread, but there is a work around. In the opacity map slot, you would have to put a CoronaMapOutput material and then place the PNG file in there with RGB Channel Output set to Alpha as Gray. However, you would not be able to use and instance of the map in the Diffuse slot since it would not display colour.
Would appreciate any input on this if I am going about this all wrong.
Thank you
-
I am not sure if I am doing something wrong here, but I am using Corona Version Alpha 6 with Max Design 2014 SP5. In the material opacity color slot, I placed a PNG file with transparency of a tree leaf. For some reason it doesnt map it right over the diffuse slot. I have tried every combination of Mono channel outputs, RGB Channel Output and Alpha source and with and without the Premultiplied Alpha check box (also the same with a TIFF file with alpha channel and transparency). It does work if I have a simple black and white JPG map for opacity. Am I doing something wrong or is this something that needs to be fixed in Corona.
Otherwise, Corona - AWESOME!!!
Quite simple... try other renderer, for example mental ray (Arch&Design material is Mental Ray's equivalent of CoronaMTL) and try to plug it into cutout slot of A&D material... If it does the same, then it's not Corona bug, but 3ds Max bug... and Max has quite of them when it comes to handling of various bitmap formats :)
-
Yup. I tried out V-Ray which is the renderer I have been using for years. I never ran into the issue before, but never the less tried it out again. I used the same PNG with transparency as an instance in both the diffuse and the opacity slot, Mono Channel Output set to Alpha and it works perfectly. So I don't think its a 3DS Max Design bug. :)
-
Yup. I tried out V-Ray which is the renderer I have been using for years. I never ran into the issue before, but never the less tried it out again. I used the same PNG with transparency as an instance in both the diffuse and the opacity slot, Mono Channel Output set to Alpha and it works perfectly. So I don't think its a 3DS Max Design bug. :)
Great... thanks for testing... if you could upload super simple scene with the issue ready to be reproduced, i am sure Keymaster will take a look at it :)
-
Great... thanks for testing... if you could upload super simple scene with the issue ready to be reproduced, i am sure Keymaster will take a look at it :)
I just ran into this bug now. Looks like it can be resolved by adding a coronaoutput shader.
I've attached a scene highlighting the problem.
max2012, corona v6
-
in version 7 this behaviour is still there (aka not working)
it just doesnt seem to pulling the alpha correctly from PNGs (havent tried tiff or other formats)
the corona map output fixes it but difficult to do in entourage heavy scenes with hundreds of people
went back to vray to confirm the behaviour at works how you think, image transparency generates alpha output
in corona it doesnt.
hope you guys can issue an update as it prevent us from using our entourage collections.
cheers
-
I`ve also always had this issue with the alpha channel not working and ever since I`ve used the Corona Map Output as stated to fix it. Some bright spark mentioned it before in another thread I think, I presumed it was a feature or there was a reason for it and I wasn`t clever enough to understand.
-
Hello,
I have the same issue, with different renderers using alpha map and assigning alpha channel as RGB output works fine, however you have to use a black and white image (not supposed to be 8bit) in Corona version Alpha 0.7. I am no good at programming but is it possible that this might be a 32bit image issue, while a RGB image is 24 bit, an image with Alpha is 32 Bit. I'll try gray scale image with a different Alpha and will inform you.
-
I'm also having this problem. Anybody find a fix besides the camera output for this?
-
If i recall correctly, there was a thread somewhere about alpha on images (for opacity in trees and vegetation). That was very comprensive about.
http://forum.corona-renderer.com/index.php/topic,4249.msg29954.html#msg29954 (http://forum.corona-renderer.com/index.php/topic,4249.msg29954.html#msg29954)
Maybe there is something you can use to start digging.
-
I manged to get it working doing this.
The gamma value i put it there i got it out of my ass i dont have a clue of the exactly number to counter gamma of alpha channel out of photoshop. Maybe counter a double 2.2 gamma (4.84)?... perhaps. Open to discussion.
I created a targa image with alpha channel in photoshop. As usual the opacity channel gets messed up so i put a color correct node between to alter gamma in alpha channel. It kin of work so i asume is gamma related.
-
I've identified the cause of this problem and logged it into mantis https://corona-renderer.com/bugs/view.php?id=1051
Moving to resolved to archive the thread.