• Advertisement
  • entries
  • comments
  • views

Screenshot Saturday 185

Sign in to follow this  


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.[/font][/color][color=rgb(85,85,85)][font=Arial]
It also advances the story through notes and several text conversations scattered throughout.[/font][/color][color=rgb(85,85,85)][font=Arial]
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:[/font][/color]
float t = -worldPosition.y / SunLightDirection.y;[/font][/color][color=rgb(85,85,85)][font=Arial]
float p = worldPosition.xz + t * SunLightDirection.xz;[/font][/color][color=rgb(85,85,85)][font=Arial]
output.lighting *= tex2D(CloudSampler, p * CloudUVMultiplier + CloudOffset).a;[/font][/color]
Here's the effect in action. It's pretty subtle and easy to miss.[/font][/color][color=rgb(85,85,85)][font=Arial]
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.[/font][/color][color=rgb(85,85,85)][font=Arial]
That's it for this week. Thanks for reading![/font][/color][color=rgb(85,85,85)][font=Arial]
Mirrored on my blog[/font][/color]
Sign in to follow this  

1 Comment

Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement