Surface physics for ray tracing