You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: Placing a gradient in the alpha channel get a hard edge in the transparency end.
After a time trying to figure out this, i saw in Unreal a feature called "Y-Axis Tilling" who can be switched from "Wrap" to "Clamp" and solve this problem.
When exported from Material Maker to Godot the problem persist (Godot haven't a feature like Unreal for this).
This happen in all versions (material maker/godot).
(i don't will show this in material maker 1.4 because are happening transparency inssues, i alredy talked about it )
Video (no audio) showing the problem in Material Maker, Godot, the problem solved and a good spot to put the option.
2025-01-23.17-57-25.mp4
How To Solve:
In the code after "Void Fragment" remove all "fract" and its will work fine.
I'm doing this manually (using "replace" in notepad) in every material after export to Godot.
Feature:
A feature who switch from Shader Tilled to Shader Clamped will allow us see in Material Maker the material whithout this artifact and could make the workflow to export (for Godot) better.
Outro:
In others engines is necessary the manual adjust like Unreal as i said , anyway this make more acuracy the material preview for the user goal and remove the unecessary visual pollution.
I just tested this in my machine, i don't know if this happen in all devices.
Windows 10, AMD Ryzen 5 2600, NVIDIA GeForce GTX 1050 Ti
I tried this in MM1.4a2 and (after fixing the render_mode problem), this does not seem to happen anymore.
It's a bad idea to change this in the preview shader since the material would not show on all faces of the cube.
You can easily create your own export target with whatever fix/change you need. That's the intended way with MM, you can easily adapt the export targets to your specific requirements and workflow.
sorry about my english~
Problem:
Placing a gradient in the alpha channel get a hard edge in the transparency end.
After a time trying to figure out this, i saw in Unreal a feature called "Y-Axis Tilling" who can be switched from "Wrap" to "Clamp" and solve this problem.
When exported from Material Maker to Godot the problem persist (Godot haven't a feature like Unreal for this).
This happen in all versions (material maker/godot).
(i don't will show this in material maker 1.4 because are happening transparency inssues, i alredy talked about it )
Video (no audio) showing the problem in Material Maker, Godot, the problem solved and a good spot to put the option.
2025-01-23.17-57-25.mp4
How To Solve:
In the code after "Void Fragment" remove all "fract" and its will work fine.
I'm doing this manually (using "replace" in notepad) in every material after export to Godot.
Feature:
A feature who switch from Shader Tilled to Shader Clamped will allow us see in Material Maker the material whithout this artifact and could make the workflow to export (for Godot) better.
Outro:
In others engines is necessary the manual adjust like Unreal as i said , anyway this make more acuracy the material preview for the user goal and remove the unecessary visual pollution.
I just tested this in my machine, i don't know if this happen in all devices.
Windows 10, AMD Ryzen 5 2600, NVIDIA GeForce GTX 1050 Ti
Code Example (this is just the end of the code):
Remove the Fract:
Off topic: a cull option allowing see two sided material could be cool as well 😸 (and let this be exported for godot in the code)
Thanks for your time!
The text was updated successfully, but these errors were encountered: