material-maker
material-maker copied to clipboard
Add godot 4 export templates
This adds Godot 4 exports with heightmaps instead of depthmaps both for the Standard and ORM material versions. I put the now 3 Godot export targets in a sub menu and the 2 Unity targets in a menu. Finally I saw that the SSS textures get exported, but not hooked up on the Godot material, so I hooked it up. These were added for both "Static PBR Material" and "Static PBR Material Tesselated".
EDIT: By the way, I made one more change. Currently the AO control from the material node is forwarded to ao_light_effect. This is incorrect, ao_light_effect, does not control the strength of AO, but how much AO shows up under direct light. I removed the line that sets this.
ao_light_affect = $(param:ao)
I'd use "Godot 3/4" instead of "G3/4" if we have the space.
I'd use "Godot 3/4" instead of "G3/4" if we have the space.
Yeah I did that first, the reason I changed it was that it will end up saying the entire string in the export window.
"Godot/Godot 3 Spatial" for example.
Alternatively we could also just remove the "G". What do you think @RodZill4 ?
EDIT: Theoretically the file type field could also strip everything in front of the "/"
Yeah I think stripping what's before the / is the way to go.
BTW, I'll use that branch to improve other export targets:
- shader params requested by Nielsen
- dynamic unlit exported as canvas_item shaders (#511)
Hmm I don't think I'll have time for shader parameters for 1.1... Will have to schedule this for 1.2. ;(
parameters
@RodZill4 have we added shader parameters already? Tks!