diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..ecdd776 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,15 @@ +# These are supported funding model platforms + +github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +polar: # Replace with a single Polar username +buy_me_a_coffee: # Replace with a single Buy Me a Coffee username +thanks_dev: # Replace with a single thanks.dev username +custom: ['https://www.donationalerts.com/r/h2xdeveloper'] diff --git a/addons/godotvmf/godotvmt/vmt_loader.gd b/addons/godotvmf/godotvmt/vmt_loader.gd index e9de034..4b07441 100644 --- a/addons/godotvmf/godotvmt/vmt_loader.gd +++ b/addons/godotvmf/godotvmt/vmt_loader.gd @@ -57,6 +57,11 @@ static func load(path: String): var extend_transformer = Engine.get_main_loop().root.get_node_or_null("VMTExtend"); var uniforms: Array = material.shader.get_shader_uniform_list() if material is ShaderMaterial else []; + if shader_name == "unlitgeneric": + material.shading_mode = 0 + elif shader_name == "vertexlitgeneric": + material.shading_mode = 2 + for key in details.keys(): var value = details[key]; var is_compile_key = key.begins_with("%"); diff --git a/readme.md b/readme.md index 7836e73..0a9fce0 100644 --- a/readme.md +++ b/readme.md @@ -88,6 +88,7 @@ If you have some ideas, suggestions regarding to quality or solutions of the pro [URAKOLOUY5](https://github.com/URAKOLOUY5) [ckaiser](https://github.com/ckaiser) [jamop4](https://github.com/jamop4) +[Catperson6](https://github.com/catperson6real-dev) ## License MIT