Project

General

Profile

« Previous | Next » 

Revision 498f4a6c

Added by danij about 17 years ago

Revised RL_VertexColors() so that per-vertex lighting is only calculated for rendpolys that require it (i.e. skymask, shadow and dynlight are skipped). 2D distance to vertices from the viewer is now calculated here when required, if there is NOT an override. A distance override is applied to all vertices of the rendpoly, uniformly. Per poly alpha can be specified (applied uniformly to all vertices).

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences