S
SilverTom93
Guest
The 3D game I'm making so far has a really nice light effect to it, and at the moment I'm testing how it looks by toggling it on and off. (See the attached image.) It gives objects and blocks shading, which looks awesome
but...
...There's a slight problem: when the lighting effects are turned on, it makes the HUD overlay, background and 2D sprites slightly darker.
I sorta know why this is happening though: the lighting effects I've coded are an ambient grey light, then an ambient orange light point, so I'm guessing that any 2D sprites here are in the grey light and therefore appear darker.
I don't want to change that lighting code I have (because it makes the walls + blocks look really nice) but is there a way I can make it so that some objects aren't affected by lighting, and some other objects are?
Here's a comparison image of my game, showing how stuff looks different when the lighting is turned on:
It'd be awesome if there was a quick simple solution to this, but as always, any help with this is appreciated
but...
...There's a slight problem: when the lighting effects are turned on, it makes the HUD overlay, background and 2D sprites slightly darker.
I sorta know why this is happening though: the lighting effects I've coded are an ambient grey light, then an ambient orange light point, so I'm guessing that any 2D sprites here are in the grey light and therefore appear darker.
I don't want to change that lighting code I have (because it makes the walls + blocks look really nice) but is there a way I can make it so that some objects aren't affected by lighting, and some other objects are?
Here's a comparison image of my game, showing how stuff looks different when the lighting is turned on:
It'd be awesome if there was a quick simple solution to this, but as always, any help with this is appreciated