Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Strange shader error message

Author
Message
Fluorescent
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 1st Aug 2005
Location: Stockholm, Sweden
Posted: 7th Jan 2017 08:11 Edited at: 7th Jan 2017 08:51
I got this funny looking error message, anyone know what it means? I assume there is something iffy with the vertecies, but I'm not really understanding what that might be.
Quote: "Shader "" required vertex attributes that object 100001 does not provide, this shader may fail to display the object"


I was trying to use a model that uses vertex colors instead of a texture. Could that cause an issue? And is the issue then with the model or my shader?
Preben
AGK Studio Developer
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 7th Jan 2017 12:23
Out of the box AppGameKit dont support vertex colors .

So if your using vertex colors this is how the data looks in the .obj file:

v 1291.571533 -609.439636 -28.628490 0.921569 0.219608 1.000000

The last 3 values is colors , Agk will not parse this setup.

So you need to export without vertex colors.


best regards Preben Eriksen,
Fluorescent
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 1st Aug 2005
Location: Stockholm, Sweden
Posted: 7th Jan 2017 18:03
Thank you, I think the problem was that I was trying to use vertex colors instead of a texture and my shader went a bit bananas when I didn't supply a texture.

Login to post a reply

Server time is: 2024-09-29 21:24:22
Your offset time is: 2024-09-29 21:24:22