I'll preface with the use intent.
Using Any Portrait and Unity Recorder to record only the characters with transparent background. Create a sprite sheet of the characters as .png to later use as sprites.
My current method is unable to produce usable quality and I am seeking to get this resolved as it is the final road block for myself currently. There are too many rogue transparent pixels when I attempt recording to be usable.
Using unity 2020.3 and Unity Recorder current version 2.5.7.
Followed https://rainyrizzle.github.io/en/AdvancedManual/AD_UnityRecorder.html
Using the Keep Transparent material and everything else is working as intended with image sequences.
Although, upon closer inspection of the results, I've noticed errors in transparency where there should be none. Almost every material is leaving a sort of transparent line around the image.
Using, Source - Target Camera Camera - MainCamera Output Resolution - (Attempted most of them) Media File Format - PNG Include Alpha - True Attempted various settings and still received errors in the .png files. I would also like to note, Texture Sampling does not adhere to the clipping mask of the eyes when running the recorder. Although, it still produces the transparent outline errors. I would be much appreciated if I could be pointed in the right direction to fix this on my end. Thanks!
Hi!
We are very happy that the problem has been resolved! :)
We mentioned that the shader we provided is for Gamma because it doesn't include calculations for linear space.
However, since the Shaders used in Step1 are just showing the character in white, you can use them in Linear as well.
If you look at the UI of the material library, you can find the Shader asset properties for "Linear" as well as "Gamma"
Set the 2 "Step1" Shaders we provided to the "2. Color Space : Linear" item (just like you set a total of 8 in the Gamma property).
Then it will be rendered in Linear as well.
(However, we recommend using Gamma for 2D games that usually use Unlit.)
Besides this case, using the "Material Library" you can set the material to fit any Color Space.
Please check the link below for a detailed explanation of "Material Library".
https://rainyrizzle.github.io/en/AdvancedManual/AD_MaterialLibrary.html
AnyPortrait also supports URP through the "Material Library".
We provide materials such as URP Unlit as well as 2D Lit.
You can see the description of URP at the link below.
https://rainyrizzle.github.io/en/AdvancedManual/AD_URP.html
However, there is a problem that the Shaders we provide are not properly compatible with the URP in Unity 2021, 2022.a.
We will provide a new version of the URP Material Presets in the next update that improves compatibility issues, and the next update will be available in the next few days.
Anyway, we're so glad this issue has been resolved!
If you have any other problems or questions, please feel free to contact us anytime!
Thank you.