func (o *OcclusionTexture) MarshalJSON() ([]byte, error) {
    type alias OcclusionTexture
    if o.Strength != nil && *o.Strength == 1 {
        return json.Marshal(&struct {
            Strength float64 `json:"strength,omitempty"`