113 reputation
3
bio website
location
age
visits member for 1 year, 10 months
seen Nov 22 at 8:11

Nov
5
awarded  Scholar
Nov
5
accepted Masking OpenGL texture by a pattern
Nov
5
comment Masking OpenGL texture by a pattern
Got it. Thanks a bunch.
Nov
5
comment Masking OpenGL texture by a pattern
I like both solutions. The solution to first approach sounds simple and that is what I initially had in mind, except that I didn't know that I can pass an array of predefined size to Shader. I thought I'm stuck with vec2/3/4 and mat2/3/4 data structures. Is there an example of passing an array to the shader? Regarding the second approach, I'd never think of using w*h buffer and NEAREST filtering to mask the tile. Just awesome.
Nov
3
comment Masking OpenGL texture by a pattern
Tiles are 32x32 pixels.
Nov
3
awarded  Student
Nov
3
asked Masking OpenGL texture by a pattern
Nov
2
awarded  Supporter
Feb
28
comment cocos2d - exclude GUI layer transformation
I understand. The problem is whatever I'd draw, it'd still be translated since the view has been pinched and panned?
Feb
26
comment cocos2d - exclude GUI layer transformation
I'm not sure what you mean manage GUI myself. Can you elaborate, please ?
Feb
26
asked cocos2d - exclude GUI layer transformation