Jump to content

April 2017 »

S M T W T F S
      1
2345678
9101112131415
16171819202122
2324252627 28 29
30      
- - - - -

Screenshot Saturday 185



4: Adsense


Hello friends. Yesterday I finished the 5th level! It took much longer than anticipated because it’s actually 10 separate maps connected together. It includes some simple but hopefully interesting puzzle mechanics.

Posted Image

It also advances the story through notes and several text conversations scattered throughout.

Posted Image

It’s hard to see in screenshots, but I added a subtle cloud shadow effect as well. It doesn’t respond to the actual clouds, so in a sense it’s slightly faked. Because of that I was able to do the projection easily with a ray-plane intersection rather than a full matrix multiplication. Here’s the shader code, edited for clarity:


float t = -worldPosition.y / SunLightDirection.y;

float p = worldPosition.xz + t * SunLightDirection.xz;

output.lighting *= tex2D(CloudSampler, p * CloudUVMultiplier + CloudOffset).a;


Here’s the effect in action. It’s pretty subtle and easy to miss.

I already started on the next level. My plan calls for a night scene with falling water, so Thursday I worked on the beginnings of a cute little waterfall effect. It’s just a Blender model with the UVs stretched so that the texture moves faster as it reaches the bottom.

Posted Image

That’s it for this week. Thanks for reading!

Mirrored on my blog

Aug 16 2014 01:15 PM

Another great looking level.

Note: GameDev.net moderates comments.