249

Controlling shading on coordinate-based geometry
Syntax: ElevationGrid

  • An ElevationGrid geometry node creates terrains
  • normal - list of normals
  • normalPerVertex - control normal binding
  • Always binds one normal to each grid point or square, in order
  • Shape {
        appearance Appearance { . . . }
        geometry ElevationGrid {
            height [ . . . ]
            normal Normal { . . . }
            normalPerVertex TRUE
        }
    }