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 / [bug] 2.017 SetObjectShader(object,0)

Author
Message
Preben
AGK Studio Developer
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 25th Feb 2016 15:34
If you use your own shader and then disable it using: SetObjectShader(object,0) to activate the default shaders, you get the following error message on mac:

Pixel shader failed to compile: ERROR: 0:17: '*' does not operate on 'vec4' and 'int'

On android it crash.
best regards Preben Eriksen,
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 25th Feb 2016 15:45
Try calling SetObjectImage(objID, 0, 1). I think this is a dup of https://forum.thegamecreators.com/thread/216587
V2 T1 (Mostly)
Phone Tap!
Uzmadesign
Preben
AGK Studio Developer
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 25th Feb 2016 16:04
Tried: SetObjectImage(objID, 0, 1) And it worked , so yes same problem , Thanks
best regards Preben Eriksen,

Login to post a reply

Server time is: 2024-11-25 09:18:19
Your offset time is: 2024-11-25 09:18:19