Yoshgunn / LightShadowThrowaway

This repository holds the Unity Project for the throwaway version of the Light/Shadow game. This does not reflect the final state of the game. All features, code and art assets are completely subject to change.
GNU General Public License v3.0
2 stars 0 forks source link

Shadow Nitpicking With Ramps #39

Open Yoshgunn opened 9 years ago

Yoshgunn commented 9 years ago

So I was prettifying the Stress Test level and I noticed this while I stood on a ramp.

image

For a few seconds after landing there, there's this square shadow ring around the space. It could be the Click Detector Game Object, but that doesn't appear to be casting shadows... unless this happened because of the material you recently added for movement? Maybe the Material is making it cast shadows or something. The timing is suspicious too, because after a second or two, the ring disappears.

image

Jacquies commented 9 years ago

That's very interesting... I had always assumed that was happening because the length of the ramp wasn't EXACTLY right, so there was a small gap between them, which was made more obvious by the light. However, that doesn't really explain why it changes after a while (although the properties of the light (if it's a torch) are continously changing).

On second thought, it probably had to do with the most recent change I made. When you click on a node, it lights up, which turns on the renderer. The alpha value then decays exponentially. So it could either be the lingering tail of that decay, or it could be due to some visual glitch having to do with having an active renderer with zero alpha.

I suppose it could also have something to do with the material, you could try changing it up and see if it has any effect. I'll see if I can change the potential renderer issues noted above tomorrow. On Sep 12, 2015 6:53 PM, "Yoshgunn" notifications@github.com wrote:

So I was prettifying the Stress Test level and I noticed this while I stood on a ramp.

[image: image] https://cloud.githubusercontent.com/assets/4043081/9834222/4c92bbdc-597f-11e5-9faa-18abe0b1aec4.png

For a few seconds after landing there, there's this square shadow ring around the space. It could be the Click Detector Game Object, but that doesn't appear to be casting shadows... unless this happened because of the material you recently added for movement? Maybe the Material is making it cast shadows or something. The timing is suspicious too, because after a second or two, the ring disappears.

[image: image] https://cloud.githubusercontent.com/assets/4043081/9834226/9be6fc48-597f-11e5-99e6-1ba9dae55de6.png

— Reply to this email directly or view it on GitHub https://github.com/Yoshgunn/LightShadowThrowaway/issues/39.

Yoshgunn commented 9 years ago

Looks like it's not just ramps... it's Quads! Quads, everywhere! Quads are the problem, laddie! We've done it!

science lab explodes

Check out this picture. The same behavior occurs on this exact spot where there are 2 Quads instead of a Cube. I'm not sure why that happens, but there you go.

image

Don't tear your hair out fixing this - I actually have been meaning to do a pretty version of the same effect you did. I'm planning to copy what Monument Valley did and make a kind of circle thingy that shrinks into the space. (Similar to what League of Legends does, but without the arrows). I'll put that on the docket for next week if it's not there already.

EDIT: Hey, why the heck are there Quads on that space, anyway? I didn't touch them because I figured it was crucial to the structural integrity of the level. Is there a reason it can't be a Cube?

Jacquies commented 9 years ago

I think this has been resolved (right?). If so, we should close it (I'm leaving it open now in case I'm wrong and there's more to do for it).