How to split two texture color channels and merge particular color channel into one texture based on pbr material?

Hello, guys.

I have a node material to merge metalness texture and metalic texture into one texture, like sketchfab does.

1704610450868

If the mesh already binded a pbr material, how to apply node material’s merged texture to the pbr material.

I found a function called createProceduralTexture but not supported of my node material, Is there any way to get fragment output as a texture or there are other ways to implement this?

You must create your node material as a procedural texture:

image

1 Like