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

Trying to use this for RMA > Unity PBR #16

Open
AndersMalmgren opened this issue Oct 8, 2020 · 4 comments
Open

Trying to use this for RMA > Unity PBR #16

AndersMalmgren opened this issue Oct 8, 2020 · 4 comments

Comments

@AndersMalmgren
Copy link
Contributor

RMA packed textures use

Blue > gray scale = AO map > AO.png

Green > gray scale = Metalness map > MS.png
Red > inverted and used in alpha = Smoothness map (inverted from roughness map) > MS.png

I dont see this really working with your fine tool? First we need support for Channel to RGB (gray scale) and also to invert channel

Also batching would be nice, lets say you have 100 RMA textures you need to map like this :D

@AndersMalmgren
Copy link
Contributor Author

I guess you can solve the gray scale problem like this¨

image

Stil need to invert though and batch :P

@AndersMalmgren
Copy link
Contributor Author

I'm working on the shader now soon done

@AndersMalmgren
Copy link
Contributor Author

AndersMalmgren commented Oct 8, 2020

Allright so i have a working version with invert. Just added a setting and in shader did 1-color

Anyway. my source RMA map is in tga format. If I manually do the same process and save new map to tga 32 bit or use this plugin with png output the result is a bit different. It seems I lose detail with png from your plugin. Any ideas?

edit: it seems the intensity of the colors are lower when generated from your plugin.

gif

@AndersMalmgren
Copy link
Contributor Author

I created a thread over at the untiry forum about the problem with the output being off. I got some pointers

https://forum.unity.com/threads/problem-with-color-in-texture-output.984978/#post-6399239

Im not a shader expert so do not exactly know how to implement them

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

1 participant