Jump to content
Admin

Games of Winter

Recommended Posts

Quick and dirty snow filter for the tournament (post effect):

 

#version 400

uniform sampler2DMS texture0;
uniform sampler2D texture1;
uniform sampler2DMS texture2;

uniform bool isbackbuffer;
uniform vec2 buffersize;

uniform mat4 projectioncameramatrix;
uniform vec3 cameraposition;
uniform mat3 cameranormalmatrix;


out vec4 fragData0;


void main(void)
{
   vec2 icoord = vec2(gl_FragCoord.xy/buffersize);
   if (isbackbuffer) icoord.y = 1.0f - icoord.y;

   vec4 color = texture(texture1,icoord);
   vec3 normalView = normalize(texelFetch(texture2, ivec2(icoord*buffersize),0).xyz * 2.0f - 1.0f);
   normalView = normalize(cameranormalmatrix*normalView);

   float cdepth = texelFetch(texture0, ivec2(icoord.xy*buffersize),0).r;
   if (cdepth<1 && normalView.y < .999 ) {
       color.rgb=mix(color.rgb,vec3(1,1,1.2),clamp(pow(normalView.y,8),0,1));
   }

   fragData0 = color;
}



post-747-0-21149000-1452976999_thumb.jpg

Share this post


Link to post

I've taken a break from game development for a while, but this tournament has inspired me to get back into it. I just wanted to ask; can you submit games made with the C++ version of Leadwerks? I know there were issues where you couldn't upload them to the game launcher, but are they still ok for this tournament?

Share this post


Link to post

Here is my progress so far.

 

I will be trying to use all custom made assets to develop my skills in all areas. I have created three textures so far (floor tiles, wall tiles, concrete) and a custom player script.

 

It's not gonna be your typical winter themed game. The general idea of the game is that there is a massive winter storm happening and you have taken shelter in an underground bunker. As for gameplay, I'm not quite sure. Happy to hear suggestions.

 

I hope this was the right thread to post this. Let me know if its not.

post-9910-0-98917700-1453377207_thumb.jpg

Share this post


Link to post

That sounds like a good game idea and screenie looks good. I'm all into bunkers lately since that new Cloverfield trailer came out. :)

Share this post


Link to post

snow shader looks nice. Just have no idea what i am doing wrong because i only get a black screen with it enabled as post effect.

 

//well. forget it. there was just no Vertex shader part in it. ;)

 

Thanks

Edited by beo6

Share this post


Link to post

More progress.

 

The bunker has turned into a subway!

I have plans for the gameplay to be like COD:Zombies.

 

Let me know what you think.

post-9910-0-65597900-1453794351_thumb.jpg

Share this post


Link to post

As you probably seen my posts in programming section of the forum, I'm try to create something as well. This is my first go at 3D engine but it's going OK minus my little frustrations self-inflicted or otherwise. I'm doing an simple Shm'up and I hope to provide one playable level. Will share some screenshots soon. Based on feedback it might grow to something bigger.

Share this post


Link to post

http://steamcommunity.com/sharedfiles/filedetails/?id=630028747

 

Ended up scrapping my previous game idea a couple of days ago, just before leaving for the weekend so as per usual ended up throwing something together which ends up as more of a demo than a decent game. Ended up pairing almost everything back in an effort to get something that does ...something. Not too much fun in its current state, but possibly the basis for something better.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...