Is it possible to use baked lighting with separate albedo textures?/How can I blend 2 color textures in a material in multiply mode? #5004
Unanswered
Martynas-Ziemys
asked this question in
Q&A
Replies: 1 comment
-
You could use threejs to blend the two textures together as a canvas texture, once you create the texture in threejs you can use it in modelviewer as your baseColorTexture. Store the created canvas texture with .toDataURL() and than just use modelviewers createTexture() to create a texture you can use on your model. Here is a part from my code, maybe it will help you.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How would I go about using a baked light map texture with separate color textures? Occlusion maps seem to be grayscale and I would like to have color in my baked lighting, but at the same time, I would like to be able to reuse color textures for different models?
I have many different models all sharing the same material and I would like to have the albedo texture to be quite big, so it would make sense if it could be downloaded just once while lighting information can be a bit lower in resolution and each of the models would have it's own baked light texture but would share parts of the single albedo texture. Basically, I am looking for a way to blend textures in multiply mode, but I am not sure how to go about it.
Beta Was this translation helpful? Give feedback.
All reactions