# How to change material opacity in a group of a obj file

**URL:** <https://discourse.threejs.org/t/how-to-change-material-opacity-in-a-group-of-a-obj-file/26146>\
**Category:** Questions\
**Tags:** obj, materials, textures\
**Created:** [May 11, 2021, 10:55am UTC](https://discourse.threejs.org/t/how-to-change-material-opacity-in-a-group-of-a-obj-file/26146 "2021-05-11T10:55:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jordi](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/jordi/32/31475_2.png) [@jordi](https://discourse.threejs.org/u/jordi)\
**Post date:** [May 11, 2021, 10:55am UTC](https://discourse.threejs.org/t/how-to-change-material-opacity-in-a-group-of-a-obj-file/26146/1 "2021-05-11T10:55:57Z")

</div>

Hi, I have an obj that has multiple groups inside, after loading in the scene it became a group with multiple meshes as children. But at the same time they share same material.

I would like to affect material properties like opacity individually to each child, but probably because of the fact the material is shared, if I change it in one child it affects to the rest of the objects from the group.

On the other side, if I would manipulate scale or position attributes they behave correctly only affecting to the specific child.

So my question would be if an object with children that shares a material would be able to change opacity of the material only for a child and not for the rest.

Maybe the only approach is to load mutliple textures on for each child and so I can affect them individually. That could be a solution but right now if I could manage that using a single texture would be the best case.

Thanks in advance
