Hi there,
i have a nodematerial here, wich is already build. is it possible to change blockvalues in that material without rebuilding it?
so for example if i want to change the texture value in the block “BaseTexture” how would i do that?
this would be my material:
const baseMapMaterial : NodeMaterial = existingMaterial
and these are the blocks i want to change for example:
blockValues={[
{ name: 'BaseTexture', value: tex },
{
name: 'BWMode',
value: 1,
},
{ name: 'BWLightenFactor', value: 10.0 },
{ name: 'Reflection color', value: new Color3(0.1, 0.1, 0.1) },
{ name: 'Roughness', value: 1.0 },
{ name: 'Metallic', value: 0.0 },
]}
can i do that or do i have a problem understanding NodeMaterials
Cheers and thanks a lot!