Fidifis / TextureMerge

pack/merge textures into image channels.
MIT License
100 stars 5 forks source link

Feature Suggestion: Ability to Invert colors from individual channels #13

Open EvandroFCosta opened 2 weeks ago

EvandroFCosta commented 2 weeks ago

In Unity URP (Universal Render Pipeline) we use the following standard: Metallic in RGB + Smoothness in Alpha Channel

Smoothness is Roughness inverted, so it would be nice to have an option to invert the alpha channel before packing

Also, some Normal maps we download online have an inverted Green Channel... which comes from the difference between normal maps for DirectX and normal maps for OpenGL.

The same feature or channel flipping could be used to flip the green channel from these textures, and avoid having to resort to photoshop to flip the smoothness or the green channel from normal maps.

Fidifis commented 2 weeks ago

Hello, thank you for the suggestion. As I understand you are asking for inverting individual channels. This feature is there. For the channel you can click on actions and select invert. You should be able to deal with the DX / OGL normal maps.

Current limitation is, you cannot import image's alpha. So for the use case of converting Roughness / Smoothness, you will not be able to do it if the roughness is in alpha channel. The feature request for alpha import is Issue #5

EvandroFCosta commented 2 weeks ago

Thanks for taking the time to answer! I hope the next release happens soon with the option to use and invert the alpha channel as well. Have a nice day