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.

DarkBASIC Professional Discussion / Aaaaand I'm back with another shader question...

Author
Message
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 15th Sep 2011 16:00
Has anyone else used Animated Shaders from the Evolved Advanced Lighting pack and found that the PICK OBJECT command becomes flaky?

Malevolence: The Sword of Ahkranox
www.msoa-game.com
www.facebook.com/malevolencegame
darkvee
20
Years of Service
User Offline
Joined: 18th Nov 2005
Location:
Posted: 16th Sep 2011 07:33 Edited at: 16th Sep 2011 07:34
Hi CumQuaT,

I havn't used animated shaders with it yet. Give me the animated shaders and I will fix the problem.

darkvee
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 16th Sep 2011 08:03
Hi Darkvee I've attached the particular shader I'm using. It's just the standard animated diffuse shader that comes with Evolved Software's advanced lighting pack

Malevolence: The Sword of Ahkranox
www.msoa-game.com
www.facebook.com/malevolencegame
darkvee
20
Years of Service
User Offline
Joined: 18th Nov 2005
Location:
Posted: 16th Sep 2011 10:20 Edited at: 16th Sep 2011 10:31
Well I have added the techniques and stuff but I can get it to render. lol I kind of forgot how you make it show up from the shader. Do you know how to make it show?

Here is what I have. Is there anything i'm forgetting to pass?


darkvee
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 16th Sep 2011 11:13
Hi Darkvee,

Normally you'd just create an object, load the shader then use the SET OBJECT EFFECT command to apply the shader to it. It's the Syncing that usually gets me. I forget to sync the masks (usually something along the lines of SYNC MASK 2^0)

Malevolence: The Sword of Ahkranox
www.msoa-game.com
www.facebook.com/malevolencegame
revenant chaos
DBPro Master
19
Years of Service
User Offline
Joined: 21st Mar 2007
Location: Robbinsdale, MN
Posted: 16th Sep 2011 11:45
It isn't a problem with the shader, dark coder explains why in this thread.
darkvee
20
Years of Service
User Offline
Joined: 18th Nov 2005
Location:
Posted: 16th Sep 2011 13:01
Looks like I need to do some reading on how you load a shader up. lol

darkvee
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 16th Sep 2011 13:23
Fantastic find, Revenant! Saving the day once again! Easy enough to fix, which is good!

Malevolence: The Sword of Ahkranox
www.msoa-game.com
www.facebook.com/malevolencegame

Login to post a reply

Server time is: 2026-07-10 20:57:52
Your offset time is: 2026-07-10 20:57:52