175

Using special-purpose groups
Creating decal groups

  • DecalGroup extends OrderedGroup and renders children in first-to-last order
  • Children must be co-planar
  • All polygons must be facing the same way
  • First child is the underlying surface
  • The underlying surface must encompass all other children
  • Use for rendering decal geometry
  • Text, texture decals (eg. airport runway markings)
  • Good for avoiding Z-fighting artifacts