Webgl 2 and C2

Discussion and feedback on Construct 2

Post » Thu Oct 27, 2016 6:30 pm

@Ashley announced on Twitter webgl2 is coming with Chrome 56. My question is: are there potential direct beneficts for us C2 devs? I don't necessarly mean new features, but also optimizations and improvements.
B
62
S
22
G
4
Posts: 357
Reputation: 6,478

Post » Thu Oct 27, 2016 8:38 pm

Pretty much just a improvement with tiling non power of two (npot) textures. By improvement I mean it'll look better. Right now npot textures are stretched onto power of two textures before it can be tiled.
B
91
S
31
G
102
Posts: 5,232
Reputation: 67,250

Post » Thu Oct 27, 2016 11:31 pm

R0J0hound wrote:Pretty much just a improvement with tiling non power of two (npot) textures. By improvement I mean it'll look better. Right now npot textures are stretched onto power of two textures before it can be tiled.


Seems like something at least, i hope for optimizations as well :roll:
B
62
S
22
G
4
Posts: 357
Reputation: 6,478

Post » Fri Oct 28, 2016 6:36 am

There has been a topic on webgl2 before where Ashley indicated what could be used by C2 from webgl2. That texture thing was the main useful thing as I recal but otherwise nothing much else. I'd have to find the topic to get a better explanation.
B
91
S
31
G
102
Posts: 5,232
Reputation: 67,250

Post » Fri Oct 28, 2016 11:23 am

Yeah, really the main thing is that you can tile and mipmap non-power-of-two textures. This means tiled backgrounds should have better quality when they're not a power-of-two size. Basically it means you can ignore power-of-two sizes since they don't matter at all any more.

There are a few other internal tweaks that can be made to help speed up texture creation and such, but they probably won't make much of a noticeable difference. It's quite a lot of effort to refactor our code to use that as well, so we probably won't do that until a future revision of the runtime.
Scirra Founder
B
387
S
230
G
87
Posts: 24,248
Reputation: 192,226

Post » Fri Oct 28, 2016 7:44 pm

@Ashley Thanks for the explanation ;)
B
62
S
22
G
4
Posts: 357
Reputation: 6,478


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests