New answers tagged opengl-es
Yes. You were able to see the sprites when Angry Birds Chrome was available to play and they looked like this:
This question popped to the top because of Aeroson's answer (above/below/adjacent/falling in bits around this one) and thought I'd yoink my answer from this question in the event that it was useful to someone. What the below shader does: Downsides: not a mobile-friendly shader, due to using the stencil buffer and rendering the object twice (depending ...
The idea is that you extrude the object vertices along their normals. First render highlight: Render the object with disabled z write but enabled z test. Vertex shader: to each vertex add normal * highlight size before you pass it on Fragment shader: render only color, don't apply lighting Then render the object: Render with z write and z test ...
Top 50 recent answers are included