On 04/11/2012 19:19, Braindrool wrote:
Still no success with glGetShaderInfoLog. Even with the work-around you
sent.
You may have a look at the hellogl2 example in the NDK sample directory.
You should easily translate the procedure to load shaders in the C file
to java.
-
Fabien
--
You
Tried them both with and without. No success.
On Friday, November 2, 2012 6:20:09 PM UTC-5, Kostya Vasilyev wrote:
It's pretty weird to see the \n-s make it into the log as is...
Do your shader files perhaps contain those two symbols (the backslash and
the n) at the end of each line? Are
Still no success with glGetShaderInfoLog. Even with the work-around you
sent.
11-04 12:16:54.626: I/System.out(1631): Finished loading: models/monkey.ply
11-04 12:16:54.626: I/System.out(1631): Finished loading:
shaders/vertex/default
11-04 12:16:54.636: W/dalvikvm(1631): threadid=12:
Tried a different shader with no success. I see no apparent error either.
Logcat:
11-02 23:02:01.035: I/System.out(833): Finished loading: models/monkey.ply
11-02 23:02:01.045: I/System.out(833): Finished loading:
shaders/vertex/default
*11-02 23:02:01.045: I/System.out(833): attribute
It's pretty weird to see the \n-s make it into the log as is...
Do your shader files perhaps contain those two symbols (the backslash
and the n) at the end of each line? Are they really supposed to be
there if they do?
-- K
On 11/03/2012 03:04 AM, Braindrool wrote:
Tried a different shader
You need to call: glGetShaderInfoLog to get the output from the shader
compiler if there is an error.
HOWEVER it is bugged:
http://code.google.com/p/android/issues/detail?id=9953
The work-round is in comment 7
On Friday, November 2, 2012 11:20:09 PM UTC, Kostya Vasilyev wrote:
It's pretty
Sounds like your vertex shader *asset* or fragment shader asset has an
error in it.
On Thursday, November 1, 2012 4:12:44 PM UTC-5, Braindrool wrote:
Title pretty much says it all. This would be so much easier if I were to
just use a single class for this. But I have been trying to take
Hmm, I just assumed that it was an API / syntax error. I'll return later.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
8 matches
Mail list logo