• Register

Main character lives in far future. He will encounter signs of “ancient” civilization, that use mysterious language connected with math and logic. We’ll discover the secret of disappearing the “ancients”, coping with various puzzles, especially when we will meet electronic panels hidden in deep caves or tree trunks. The world of our main character is wild, vast, interesting to explore.

Post news Report RSS Apparatus - volumetric lights & water reflection

About new game engine capability: volumetric lighting. Also in this article you can read about water reflection effect and non-linear image transformation.

Posted by on

First I'd like to write something about game engine. It's written in Java from scratch. It use JOCL library (Java binding for OpenCL) for some pixel filter (see dynamic lighting article). The main assumption is that the game is fully 2D. In the same time I want to make a game as atractive as possible with this specific atmosphere characteristic for good 2D games from 90's.

Follow us on Facebook

Concerning water reflection

The effect of wavy reflection is result of a few non-afine transformation, let call two first of them T1, T2. Then

stand1 ---(T1)-->F1



and

stand1---(T2)-->F2,


finally composition of T1 and T2 and inverting with some gradient alpha chanel (let them called T):

stand1---(T1)-->F1---(T2)-->F1 2--(T)-->F ready


.

Concerning volumetric lights

The game engine naw can produce the volumetric light whit is very tricky and still fully 2D effect. There're also slightly water waves appearing when character is movin or jumping in water. You can see it in first of two videos below:



Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: