Returns the ambient coefficient of the primitive at the hit point. Returns the zero vector, if shader does not support ambient lighting.
Source
Vector4 getAmbientCoeff() => new Vector4.copy(ambCoeff);
Returns the ambient coefficient of the primitive at the hit point. Returns the zero vector, if shader does not support ambient lighting.
Vector4 getAmbientCoeff() => new Vector4.copy(ambCoeff);