Difference between revisions of "Transparency"

From PioneerWiki
Jump to: navigation, search
(Create page)
 
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.
+
Alpha checks slow down rendering, so a transparent section of a model should be a separate mesh, and should have its own texture.

Revision as of 02:20, 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 translucent, 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 of a model should be a separate mesh, and should have its own texture.