Baking/Rendering simple Maps from shader tree ?

Hello,
I’m trying to get a simple single Diffuse und Roughness Map from the input used in a VrayMaterial - which has a complex node tree.

Which is the proper way to get a reduced single map? (not with lighting baked! just in order to replace the long tree with a single map).

When I try “render to texture” it renders with light (although “light” is disabled).

Thanks for help
(3dsMax 2022)

Bake To Texture has “Material Input” that you can choose map slot to bake.
Or, you can BTT/RTT with VRayExtraTex.

Thanks, I got now a much simpler method which works really fast:
grafik.png

Yes, that works well if you don’t need render time processing, like AO or curvature, or lighting, etc.