Macroscopic Quantum Effects in Nonlinear Optical Patterns