Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to atlas metallics and roughness maps #23

Open
RedSpeeds opened this issue Mar 19, 2021 · 5 comments
Open

Allow to atlas metallics and roughness maps #23

RedSpeeds opened this issue Mar 19, 2021 · 5 comments

Comments

@RedSpeeds
Copy link

Check if a material has a metallics or roughness set to them and if its a image if it is atlas those as well as i have to manually make them for now which is lets just say less than ideal

@AraHaan
Copy link

AraHaan commented Dec 31, 2023

I do not think there is a need to atlas metallics and roughness maps because they are a shader thing no? A thing not directly loaded to vram?

@RedSpeeds
Copy link
Author

The workflow intended here is that in substance you make the metallics and roughness maps and then you load them into blender then in CATS you combine them thru your addon and id be nice if the metallics and roughness set on those materials can be atlassed as well so that we can move the atlas into unity for the final shader

@AraHaan
Copy link

AraHaan commented Jan 13, 2024

The workflow intended here is that in substance you make the metallics and roughness maps and then you load them into blender then in CATS you combine them thru your addon and id be nice if the metallics and roughness set on those materials can be atlassed as well so that we can move the atlas into unity for the final shader

Easier said then done with a mesh uses:

  • RGB node that gets atlas'd as 10x10 px
  • has a metallic and roughness map of greater than that size in pixels as images.

The extension messes with the UV on it somewhat, how will it know to grab it at the proper place in the metallic, roughness, and alpha maps that can be at any big size btw?

I guess there could be sections where it would atlas all of those first before the primary basecolor (including emmission maps) and then once you atlas the base colors that is it, they get frozen into the resulting single material.

@RedSpeeds
Copy link
Author

The Metallic and roughness map would be a separate image. Im not too much aware of the technical details of this personally

@AraHaan
Copy link

AraHaan commented Jan 14, 2024

The Metallic and roughness map would be a separate image. Im not too much aware of the technical details of this personally

Yes, but it would have to be aware of the UV as well and the UV can be problematic for some people.

Repository owner deleted a comment from OVERMEGAKILL Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants