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 they really supposed to be there if
> they do?
>
> -- K
>
> On 11/03/2012 03:04 AM, Braindrool wrote:
>
> 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 vec4 vPosition; \n*
>>
>> *11-02 23:02:01.045: I/System.out(833): void main() \n
>>> *
>>
>> *11-02 23:02:01.045: I/System.out(833): { \n
>>> *
>>
>> *11-02 23:02:01.045: I/System.out(833): gl_Position = vPosition; \n
>>> *
>>
>> *11-02 23:02:01.045: I/System.out(833): }; \n
>>> *
>>
>>
>
>> 11-02 23:02:01.045: I/System.out(833): Finished loading:
>>> shaders/vertex/default
>>
>>
>
>> *11-02 23:02:01.045: W/System.err(833): Error creating vertex shader*
>>
>>
>>
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en