xuxiandi / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Drawing last pixel in a line #257

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Render line primitives with touching end points using additive blend.

What is the expected output? 
See "reference-ipad.png". This is a screenshot from a test application running 
on an iPad device.

What do you see instead?
Moire/aliasing artifacts manifesting as bright dots. See "angle.png" .

What version of the product are you using? On what operating system?
SVN revision 889

Please provide any additional information below.
GLES2 does not draw the last pixel in a line primitive. Under DirectX9 this is 
controlled by D3DRS_LASTPIXEL render state, default value is TRUE.

The fix is very simple (attached).

Original issue reported on code.google.com by yur...@gmail.com on 24 Nov 2011 at 1:21

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for catching this and the detailed comparison!

Fix committed in r891

Original comment by dan...@transgaming.com on 24 Nov 2011 at 10:38