[Paid Work] Webgl Dynamic Light and Shadow

0 favourites
From the Asset Store
_______ Huge collection of metal fixtures ________
  • Hello fellow developers, I?m looking for somebody to make a behavior/plugin that can achieve dynamic light and shadows for webgl in C2, similar to how CBNA for gamemaker works (http://www.youtube.com/watch?v=6KvjEiur0eY).

    I imagine there would be a behavior called Shadow Caster, another called a Light Caster and different types of properties for the lights and shadows(color, cone, reach, softening) and also some events like "Is on shadow".

    Being able to see the lights in the editor is a must.

    So, I know this is complicated and as I?m uncapable of doing something like this myself, can I get a quote via pm of how much would something like that cost and in how much time it would be ready?

    I?m more than willing to share the result with the community but if someone could chip in to pay the costs, that would be great too.

    Thank you!

  • Nobody interested? o.o

  • This is unfortunately something very hard to do. I've talked with Yann about it and he thinks there are some obstacles in the engine which prevents a simple shader from being able to do this.

    Basically, unless Scirra make some changes to the engine, it's doubtful anyone but Scirra can actually create this shader.

  • Thank you for your reply ;]

    Oh well, I hope this feature gets on some of the next betas, I have some neat game ideas for the future that are dependant on a fast and easy way of adding light and shadows to a 2d enviroment(a stealth game).

    I love Construct 2 and Unity really seens to be too complicated on handling complex 2d enviroments ;( Also, C#!

  • I'm basically trying to do the same. From what a friend told me when he looked at it and what I understood, it's not possible to do multiple passes with the current renderer in WebGL. It's probably more complicated than that but I'd really love to have a decent lighting system.

  • What basically would help is an expression to return collision polygon coordinates. With that and some vector math, it should principally be possible to code the shadow projection without the need of a shader.

    Oh wait! I just saw that there?s a polygon plugin. Code away!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • have you seen this capx?

    construct.net/en

  • Yeah California, but thanks for the link. I?m looking for a more friendly way of managing light and shadows, so I can just add luminescence and colored lighting to some objects in an easy way. I?m not too keen in programming a system myself inside C2, because I **** at math. ;P

  • That's the system I'm currently using and it's CPU heavy. It's pretty hard to get a decent framerate, that's why WebGL would be awesome.

  • I'm willing to throw money at this problem too. You need a WebGL capable programmer. I have not seen a good example of 2D lighting/Shading done with WebGL yet though.

  • Apparently this version has been optimized by some guy and was last updated in May 2013:

    funhazard.com/xna-resources.html

    funhazardgames.blogspot.com/2012/10/2d-shadows-part-2-manual.html

  • +1 would chuck money at this.

  • Im in too.

    "Dynamic lights and shadows" is one of the biggest missing feature here.

    Maybe it could be done like official SpriteFont? Let them give it to someone else to do the hard work ;)

  • Well, I�m glad there�s so much interest in this.

    Does anyone know a good programmer who would be intersted in learning the sdk for C2 and making this for a cool price? ;]

    Maybe the awesome rexrainbow Pode or R0J0hound would be interested in taking a look?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)