• Register
Post news 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



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
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.