- Home /
Transparent Glass for Free Version Of Unity?
I've been trying to find a correct answer for this for sometime now, seems oppinions are varied on the subject. What I want to know is if it is possible in the free version of Unity to make a glass material that will reflect a cubemap of the environment and be transparent? Or is that another stooopid thing that is a Pro Only feature?
Answer by Statement · Dec 12, 2011 at 08:00 PM
It depends if the cube map is pre-generated or not. Real time generated cube maps require render-to-texture which is a pro feature.
Not really sure what you mean by "Pre-Generated" The cubemap I'm using would be one I've created myself using a camera rotated in all directions needed for snapshots of a six sided cube. I'm using such cube maps perfectly for other reflective surfaces but cannot seem to find a way to make them transparent?
He's referring to static or baked cube maps. Could you elaborate on how you are generating the cube maps? The only documentation I could find on generating cube maps requires Unity Pro, which you don't seem to have.
Otherwise if you are using RenderTextures or any other type of texture, it could be that: 1) The RenderTextures you are rendering to don't support alpha (RenderTextureFormat). 2) You aren't rendering alpha values to the RenderTextures. 3) The material you are using to render the RenderTextures doesn't support alpha blending.
Agh, just ignore this comment, I have no idea why this question appeared at the top of my list despite it being two year old...