parallax mapping

New releases and general discussions.

Post » Thu May 17, 2012 9:10 pm

hey guys.

been playing some modern games lately, since i got a new pc with all the dx11 eye candy, and started thinking:
would it be possible to implement something like parallax mapping(or its variations) in the construct?
because, if im not completely wrong, its still just a 2D texture effect used to make an illusion of depth, correct?
and since there already is bump mapping in construct, i was thinking why not parallax..
i think it could make a 2d game look really stunning when used subtly and carefully.
which lead me to wonder why it hasnt been used in 2d platformers, for example, very much. i really like the way it looks and while it could potentially go to waste in a 2D game where you cant rotate around textures, it would still add some depth to visuals.

any thoughts?frogbull2012-05-17 21:10:40
B
1
Posts: 12
Reputation: 249

Post » Thu May 17, 2012 11:08 pm

I might be mistaken, but I think it requires pixel shader 3.0, and construct classic only supports 2.0.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Fri May 25, 2012 2:56 pm

You may do parallaxing effect by adding some Layers to your Layout, the setting theirs XScrollRate and YScrollRate params progressively from top-most to bottom-most. So when you scrolls the whole scene, the Layers with lower ScrollRate respectively, will scroll smoothly, therefore all objects inside those Layers will scrolls smoothly too.

I'm using that effect on my own current project 'DEEP SPACE' to create the illusion of a vastness of void in the space, producing a feeling of depth.

Espect this helps!

^_^
B
4
S
1
G
1
Posts: 69
Reputation: 863

Post » Sat May 26, 2012 2:51 am

@Yaottabyte - he was actually talking about parallax mapping, not parallax scrolling. It's basically bump mapping or normal mapping, but better.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Mon May 28, 2012 2:20 pm

ah ok! well i was confused then... hehehe...
Yaottabyte2012-05-28 14:21:20
B
4
S
1
G
1
Posts: 69
Reputation: 863

Post » Mon May 28, 2012 4:23 pm

I had a quick look at parallax mapping, and it is not so much about the pixel shader version (it could be done v2.0 compliant). But in Construct you only have access to the actual texture and its background, you can't access a second or third texture (which would be needed). Maybe with a fixed parallax angle (set by a parameter) it could be done to the background.
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests