This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level.

§ - transparency (SceneScript element)

 <transparency EXP

This language element may be used inside a  <trait block.

EXP sets an object's transparency. 0.0 is fully opaque, and 1.0 is fully transparent.

When an object is partially transparent, the color of the object (or the color of the image map at the relevant point on the object) "filters" the color of the light rays. One lurking "gotcha" is if you make a plane, bump map it (for water, for instance) and make it reflective, it'll work fine... but then, if you make it transparent — at all — sometimes it will turn completely black. Why? Because the color of the plane is black, and that's what filters the light. The solution is to simply make the color of the plane white ( <color 1 1 1) and then the transparency will work as expected. Likewise, if you make the water green or blue, that will work also. Just don't forget to make it some color!

Keyboard Navigation
, Previous Page . Next Page t TOC i Index o Operators g Glossary
WinImages F/x, Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions
WinImages F/x Manual Version 7, Revision 6, Level A

Valid HTML 4.01 Loose

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7
Page 228