x


glass sphere with reflective/specular shader?

hi, i'm trying to create a glass sphere with reflective/specular shader. i use a reflection cubemap with alpha set to 20%. however i cannot get the sphere to be semitransparent, i only see the cubemap but not through the sphere. any ideas? thanks, flexrails

more ▼

asked Nov 22 '09 at 04:46 PM

flexrails gravatar image

flexrails
706 29 35 55

(comments are locked)
10|3000 characters needed characters left

2 answers: sort newest

There's a shader on the Wiki called "WindowShader" which looks as though it provides what you want - both alpha transparency and cube-mapped reflections, here:

http://www.unifycommunity.com/wiki/index.php?title=WindowShader

more ▼

answered Nov 23 '09 at 11:19 AM

duck gravatar image

duck ♦♦
41.4k 95 152 415

(comments are locked)
10|3000 characters needed characters left

At the bottom of the shader list there is a 'transparent' sub menu, from which you can select specular, now the alpha level will work.

more ▼

answered Nov 26 '09 at 05:44 AM

Steven gravatar image

Steven
2

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1744
x505
x252
x56

asked: Nov 22 '09 at 04:46 PM

Seen: 8131 times

Last Updated: Dec 02 '09 at 01:06 PM