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