Difference between revisions of "Transparency"

From PioneerWiki
Jump to: navigation, search
m
m
Line 5: Line 5:
 
Set opacity to 99 if you want the mesh to be opaque overall, but have transparent parts set by the alpha channel.
 
Set opacity to 99 if you want the mesh to be opaque overall, but have transparent parts set by the alpha channel.
  
Alpha checks slow down rendering, so a transparent section of a model should be a separate mesh, and if you are using a texture with alpha, make it separate from the main texture.
+
Alpha checks slow down rendering, so a transparent section using alpha should be a separate mesh with its own texture.

Revision as of 02:41, 23 January 2013

Overall transparency of a mesh is controlled by the 'opacity' setting in the .model file. See Model system

At the default of 100, the mesh is fully opaque, and the texture's alpha channel is ignored. Below 100 the mesh starts to become transparent, and the alpha channel can be used to increase transparency in specific areas.

Set opacity to 99 if you want the mesh to be opaque overall, but have transparent parts set by the alpha channel.

Alpha checks slow down rendering, so a transparent section using alpha should be a separate mesh with its own texture.