![]() ![]() In my mind, the addition of the light and shadow behavior is super awesome as it adds in a slew of professional effects to construct. Finally a white sphere sprite could be put on top of it all with appropriate blend mode to not cover any shadow area.Ĭurrently, the shadow being drawn where the shadow caster is would be nice to toggle but not needed if you can draw light in stead of shadow. ![]() If light was drawn, you could draw it as black and then use draw the shadow casters as black on the same layer. You can't add in those blocks on the layer above light because then they will be just as light even in "dark areas". A problem arises here in which the block that is casting a shadow actually gets covered by that shadow. You can't even fix this by adding more layer.Ĭase 2: When using a layer to render light effects, including illumination areas and so on, the light layer usually has to be above, the tiles needing to be lit. all of a sudden dark shadows cut across fields of light that they shouldn't. But then you want another light, and the whole model is broken. You then draw the shadows in and presto, you have a really neat area of light complete with awesome shadows. You can easily do this at the moment by creating the black layer and using a sphere to stamp out a light circle. SubCase 1a: This scenario also brings up another problem that indicates an additional feature is needed to the light and shadow behavior/attribute. If light was drawn then you can use it to cut out of a black filled layer resulting in light falling how we expect it to. Using opacity to control the shadows doesn't really fix the problem because the shadows still build up even where they shouldn't. All the shadows draw despite that they are lit by another light. Because shadows draw instead of light you get an additive effect with the shadows. I also found out some other things as well.Ĭase:1 You want a situation where multiple lights are used. TLDR: Lights need to have the option to draw either light or shadow.Īshley - the following scenarios should more effectively demonstrate what I mean. It all ready requires 2 layers at least for reasonable lighting situations and having to have more doesn't make much sense if it can be avoided. There are of course instances where drawing shadows is preferred, but so far I have found that I would prefer to draw the light so the it can be more easily combined with cutout lighting methods, multiply lighting methods, and screening/additive lighting methods. If any one wants, I can post some capx demonstrating different lighting problems that would be better solved by drawing the light, rather than shadow. No matter how you like to build up your effects, being locked in to drawing only shadow is difficult. This can all be solved simply by selecting what is drawn: Either light, or Shadow. Sometimes, if complicated effects are desired it is impossible because you need to have layers within layers in order to get the desired effect. In cases where you wish to use screen or additive blending you have to use the shadow caster to cut out of an entire layer set to screen and filled with the light color of your choice. If you bring them up one layer then the don't get shaded by the overall light layer. Namely one of them being that the tile map below the light gets shaded on blocks that shoudln't be. If you use a normal method of lighting a layout and you draw the shadows, a few problems emerge. Mixing traditional lighting methods with the new shadow method is difficult due to the opposite workflows involved in each aspect. Įssentially you can do the same when shadows are drawn but it takes more work than if the light is drawn. If the darkness layer used multiply, you could make colored shadows and colored lights (blend mode is set to normal on the light and the light layer is set to multiply) the multiply method. Basically lights cut a hole in the "darkness". The way light effects had normally been done in the past in construct required a layer set to black (or whatever color shadows were going to be.) the layer would be set to force own texture and then the lights would be added to the layer with destination out. An option to choose what is drawn (either light or shadow) would be awsome. I think the reverse would be better in many situations. Great work so far on it!Ĭurrently, it is the shadows that are drawn, rather than the light. however, I have one request so far (a simple one I think). Ashley - I have been playing around with the shadows and lights in the new beta release. ![]()
0 Comments
Leave a Reply. |