X
XirmiX
Guest
I've benn hitting myself over the head with all of this lighting system mash. I checked out a few engines, looked at tutorials explaining how lighting and shadows work and how to implement them in the game, but nothing that could really help me get things working. What I have right now is complete garbage of no shadows and a broken light, which is drawn once by a light casting object (on a surface), but when moved/rotated or whatnot, the object doesn't move the light around. At the time, I didn't even know what kind of lighting system I really wanted for the game and for all I know, what I think would be a really good lighting system for my game now might not be what I want the game to stick to and that looks great. I've made 2 threads about this before, but the best I got was some suggestions using light engines. I don't know why, but I feel reluctant to use them, probably because I don't know their functionalities, it would take long to understand them and it's all in the end very restrictive.
So, what now? I really need to get the lighting system implemented in order to move on in the game's development as light and dark will be core features of the game. The following is a way of how I currently think I would like the lighting system to work and a mention of something important in terms of how lighting will interact with the player:
* I need a way to have light rays as well as light specs to work on objects to create shadows.
* I need shadows to cast from light sources as necessary, with the shadows becoming quite blurry the farther away they are from a light source
* This needs to work with multiple light sources
* Light and dark casted on surfaces will have an effect on player, so the methods used in order to cast light and shadows need for the program to get input from when the player is touching light or not or touching darkness or not. Similarly to this (the above 3 points I cannot get going even though I understand the fundamental logic they go by in my head. This point I can probably do on my own after light and shadows are put in place and working as necessary, I'm simply pointing out that I need this point to be achievable with the light and shadows that are casted):
I have a large portion of the movement working in the game as necessary and I could do it without much struggle. This however, I cannot find a solution on my own
So, what now? I really need to get the lighting system implemented in order to move on in the game's development as light and dark will be core features of the game. The following is a way of how I currently think I would like the lighting system to work and a mention of something important in terms of how lighting will interact with the player:
* I need a way to have light rays as well as light specs to work on objects to create shadows.
* I need shadows to cast from light sources as necessary, with the shadows becoming quite blurry the farther away they are from a light source
* This needs to work with multiple light sources
* Light and dark casted on surfaces will have an effect on player, so the methods used in order to cast light and shadows need for the program to get input from when the player is touching light or not or touching darkness or not. Similarly to this (the above 3 points I cannot get going even though I understand the fundamental logic they go by in my head. This point I can probably do on my own after light and shadows are put in place and working as necessary, I'm simply pointing out that I need this point to be achievable with the light and shadows that are casted):
I have a large portion of the movement working in the game as necessary and I could do it without much struggle. This however, I cannot find a solution on my own