Artifacts caused by Shaders from Examples

  ... discussions regarding GLES2 ShaderPrograms (VertexShaders and FragmentShaders).

Artifacts caused by Shaders from Examples

Postby ozi9891 » Sat Aug 04, 2012 10:27 am

Hi,
Recently I wanted to apply some shaders to my game.
However after copying code from examples I occured a problem - Shaders works perfectly but screen size got smaller -
It has been resised to 2/3rds of actual size and the rest is filled with random pixel artifacts.
Does anyone have clue how to solve this ?
Thanks
Attachments
device-2012-08-04-102504.png
Artifacts caused by Shaders from Examples
device-2012-08-04-102504.png (86.47 KiB) Viewed 670 times
ozi9891
 
Posts: 16
Joined: Tue Oct 04, 2011 7:35 pm

Re: Artifacts caused by Shaders from Examples

Postby ozi9891 » Sat Aug 04, 2012 12:40 pm

Solution to the problem was fairly simple :
1. Copy Examples project.
2. Edit main activity name in androidmanifest.xml
3. Copy src & assets.
Voila, everthing works just like in Examples project.
ozi9891
 
Posts: 16
Joined: Tue Oct 04, 2011 7:35 pm


Return to ShaderPrograms

Who is online

Users browsing this forum: No registered users and 1 guest