Screenshot Saturday 185

Published August 16, 2014
Advertisement
[color=rgb(85,85,85)][font=Arial]
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]
QuarrelsomePleasedImperialeagle.gif[/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]
sEziZeul.jpg[/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]
[color=rgb(85,85,85)][font=Arial]
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]
[color=rgb(85,85,85)][font=Arial]
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]
GranularReasonableBlackbird.gif[/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]
2 likes 1 comments

Comments

Navyman

Another great looking level.

August 16, 2014 07:15 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement