Shader extend-box problem [r165]

Bugs will be moved here once resolved.

Post » Fri Mar 28, 2014 9:30 am

This is a callback to a problem from rev161, mentioned here: r161-bumpmapping_t95603

After many updates, the problem is still there. When you set either extend-box-horizontal or extend-box-vertical to any value other than 0, your shader will not work as intended. vTex.y coordinates get flipped upside down and the borders of the image in the shader seem to extend way beyond the image's actual borders.

I created two videos to illustrate this, a shader that simulates a tree bending left and right periodically, and with more intensity the farther the pixel is from the root. The only difference in the two videos, is that I changed the extend-box-horizontal in the shader from 0 to 5.

Working like it should http://youtu.be/Kzpgi4Z6YUc

NOT working http://youtu.be/ml5X0IB7Kes

Problem exists at least in the previewer, once exported, on firefox, chrome and node webkit
B
6
S
2
G
1
Posts: 39
Reputation: 1,303

Post » Fri Mar 28, 2014 9:37 am

Ashley will more than likely close this as you haven't followed the posting guidelines, especially the part about including a minimal .capx with clear steps to reproduce.

It also enables others to also test, just in case it's system specific.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
87
Posts: 5,490
Reputation: 60,266

Post » Fri Mar 28, 2014 9:56 am

Yeah except for the fact that I created two videos, explained the problem in details, and linked to a thread where the problem was discussed and where I posted a capx also showing and explaining the problem.

But thanks for your input
B
6
S
2
G
1
Posts: 39
Reputation: 1,303

Post » Thu Apr 03, 2014 5:23 pm

Closing as duplicate report (you linked to an existing thread in the Bugs forum), please reply to that thread to add more information.
Scirra Founder
B
399
S
236
G
89
Posts: 24,542
Reputation: 195,428


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests