I’m trying to make a sphere which responds to lighting, but the side which is not illuminated is transparent. At first I thought it should be as simple as setting the AmbientColor to (0,0,0,0) but that did not work. Upon further testing, it seems that none of the colors (Ambient, Diffuse, Glow, etc.) support alpha transparency. Is this correct?
If this is correct, can anyone think of another short path to the end result?
This is not mission-critical; it’s just for one last neat effect I was trying to squeeze in before showing this thing off. If there’s no quick and dirty way to do this, it is something that I can leave out.
Off topic: I have a short time slot with which to make a presentation on this, but if I have any extra time I’ll see if I can work in a plug for jME. Thanks guys for making jME; I had only about a month and a half to work on this project I’m doing, and I am amazed at how rapidly I was able to go through the learning process and get to where I am at now using your tools. You’re on the right track, keep up the good work!
What material are you using?
If you are using Lighting.j3md then you need to turn on material colors. Also, it needs to be in the transparent render bucket and you need to turn alpha blending on in the render states…