So I was playing with transparency and got it working! It works with PBR if you set the strenght under 1, like .999, but we kind of see through. So it works best using Cycles nodes with transparency.
Both however do not cast transparent shadows on the ground.
I have the same transparency issue here with the windows of a house, the 0.999 value makes the house transparent overhaul, but here the transparent shadows do work. I think there is an option that activates them.
Testing transparency with some trees on Build 7 of Armory3D on a Mac Book Pro gave me odd results: Screen Shot 2017-02-20 at 3.36.52 PM
Screen Shot 2017-02-20 at 3.37.08 PM
Screen Shot 2017-02-20 at 3.37.32 PM
The shadows look great, but the foliage has this odd addition blend mode effect, although on the Armory PBR Group node I’m not sure if I’m setting it up right. On the other hand the standard Cycles Group Node produces a similar effect, which normally in most tutorials I’ve seen it should look more like if alpha clipping were enabled. If I do have everything set up in nodes properly is there another setting that determines blending modes or something? I’m a bit puzzled.
I tried another test including a separate black and white transparency map using the ArmoryPBR group, since it gave the best results, but the same or similar opacity issues persist. This 2nd test file is a bit cleaner with only 3 textured cubes. There still appears to be some sort of alpha sorting and emission problems as it would seem.
Some more results:
alpha sorting problem (skytexture and 1 lamp present)
emission problem when only skytexture is present (no lamps):
Thanks for testing! Must be (another) transparency bug - will investigate and report back. Maybe going with different technique for rendering transparent surfaces would be the best solution.
Selecting deferred-high path is not needed anymore, it is enough to set Camera - Armory Render Path - Translucency to Auto on On. By default it is set to Auto - if translucent material is detected then render path builder will set it up automatically. On the other hand if no translucency is used then some resources/perf is saved.
This topic seemed like a bit of a loose end at this point… I figure I’d mention that in build 12, the Discard option in the Armory Material Properties has solved all the issues so far seen in this thread with sorting and opacity! Woo!
I also have a problem with transparency.
I did enable “translucence” in Armory Render Path -> Renderer, my material is an Armory PBR, but I have no transparency until I check the “Discard” box.
With Discard checked, it is all or nothing: if the opacity of my materials is lower than the value of “Mesh Opacity”, my object is totally invisible.
Did I forget something?
Is it not possible to have anything other than a totally transparent or totally opaque object?
Hi, i have a problem with transparency
in the img below the rotating letters should normally go behind her head
but they appear always on top.
I am using Armory PBR with Renderer/Translucency -> ON
btw, i tried setting the plane (with the girl) to “Armory Props -> Discard”
but it produces a weird fringe.
Is there a way to make the letter go around here without using Discard?
I am having issues with particles with the tile sheet and transparency too. I can get the particles working fine but getting them to look right is driving me nuts. If anyone has gotten in to work a write up world be awesome. I have studied the smoke example and can not seem to replicate it.
I played with smoke example, try to tweak it, but it seems we can not achieve a acceptable effect in blender … may be there is a beginning of answer here : https://blender.stackexchange.com/questions/32900/how-to-properly-render-smoke-on-a-transparent-background . Sprite sheet need to be in .png to have the transparency in armory viewport but blender not seems to manage emissive with transparency correctly. I tried many attempts in photoshop to store emissive of fire simulation in alpha channel to create a torch sprite sheet without sucess. However i can tell that sprite sheet seems working. I will try to share another smoke scene that reproduce this example.
Cheers.