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.

Bug Reports / lock object will not work with scrren effects when sprites used

Author
Message
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 8th Dec 2010 14:29 Edited at: 8th Dec 2010 14:31
[Edit Could a Mod please correct the spelling in the title?
Thanks. ]

Not sure what the bug is exactly here - but the behaviour is unexpected.

The code shown below attempts to use lock object, set screen effect and sprite together.



The "quadGreen.fx" shader simply masks out the red and blue colour components (so you can see the screen effect working). Here's the code:



I expected the sprite not to appear. In fact it is the only thing that appears!

If you comment out the sprite line you'll see the locked object working correctly with the screen effect. If you comment out the lock object line you'll see the sprite is ignored as expected.

Login to post a reply

Server time is: 2024-03-28 10:00:42
Your offset time is: 2024-03-28 10:00:42