Godot Version
4.3
Question
its pretty self explanatory , is there a way to change the color of a 3dmesh like modulate for canvasObjects?
4.3
its pretty self explanatory , is there a way to change the color of a 3dmesh like modulate for canvasObjects?
Nothing exactly the same, what specifically are you trying to do?
For a single object with a StandardMaterial3D + texture you can change the albedo_color to modulate the texture.
For a single object a material overlay can be applied, though it’s more of a mix blend than a multiply blend.
Otherwise you might be able to get what you’re after with a Shader, but that must be tailor made to your application.
im using a mesh for a floor but it for some reason comes out grey (or at least greyer than the player character) when i run it ,figured i could use something like modulate to change the color. might be a lighting issue more , im using a directionallight3D for lighting
Ah, well modulate isn’t even what you’re looking for then, modulate cannot brighten without going above normal ranges.
I would first check the angle of your directional light. Without a material Godot defaults to a greyish albedo_color. Last thing you could try is adding ambient lighting through the world environment.
and how do i add omnipresent light to the game? i dont really care about rendering light fancily i just want the game to not look completely grey but how it looks like in the editor
Ambient light in the WorldEnvironment would be the most “omnipresent”, moreso than directional lights.