The question of the hour is: How to make a transparent block with a visible outline? I am trying to make a platform who's outline is visible and it can't be stepped on. upon flipping a switch the block becomes solid. How can I make it invisible, but still have an out line? I've seen some solutions using shaders, but I have absolutely no clue how to manipulate that code. Or how I could turn it off when hitting a button. Any ideas?
asked May 22, 2012 at 04:12 AM
A quick way be to just make a 32x32 image with a transparent background and a thin border (2px on mine) around the edges. Then make a material (transparent diffuse shader) and use that image for the texture. Then your box is transparent with a border. When looking 'through' the box, you won't see the other sides border's. Only see the borders on the outside of the box.
answered May 22, 2012 at 11:37 AM