Controlling shading on coordinate-based geometry
Using normals

  • A normal vector indicates the direction a face is facing
  • If it faces a light, the face is shaded bright
  • By defualt, normals are automatically generated by the VRML browser
  • You can specify your own normals with a Normal node

  • Usually automatically generated normals are good enough