func (n *NormalTexture) MarshalJSON() ([]byte, error) {
    type alias NormalTexture
    if n.Scale != nil && *n.Scale == 1 {
        return json.Marshal(&struct {
            Scale float32 `json:"scale,omitempty"`