I'm new to shader writing in Godot and ma finding that the shaders I've written appear very overlit and washed out compared to the default shaders Godot applies to meshes imported from Blender.
The purpose of this custom shader is to use vertex colors to blend between two different albedo textures. There is a base texture to be used wherever the vertex color is black and a second texture is overlaid wherever the vertex color is red. I've created this mesh in Blender and have imported it into a Godot scene. However, when it is drawn, the textures appear much lighter than they should be. I've tried playing with the specular, roughness and metallic settings, but they do not help.
Any idea how I could fix the lighting here?
(If someone could post the code for a shader that just draws a plain spatial mesh with a single texture, I think that would be a good reference point for demonstrating what a basic shader should look like - the water shader in the docs is not terribly helpful since it illustrates a very unusual case).
uniform sampler2D baseAlbedo;
uniform sampler2D redAlbedo;
vec3 base = texture(baseAlbedo, UV).rgb;
vec3 red = texture(redAlbedo, UV).rgb;
ALBEDO = COLOR.r * red.rgb + (1.0 - COLOR.r) * base.rgb;
ROUGHNESS = 1.0;
SPECULAR = 0.0;
METALLIC = 0.0;