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.

Newcomers DBPro Corner / How to use SET SCREEN EFFECT in U71?

Author
Message
DEastham
18
Years of Service
User Offline
Joined: 9th Sep 2006
Location:
Posted: 2nd Jan 2009 03:33
Hi all,

I am trying to use the SET SCREEN EFFECT command, but it has no effect.



The FX file I am using creates red, green and blue stripes over a scene. That's the plan, anyway (it's from the Facewound shader tutorial).

So, clearly I am doing something wrong, but I cannot find sample code to show this. What do I do? Also, is there any DBPro documentation that talks about the other types of shading? Sorry if this is covered somewhere else; I am completely lost in this world.

Thank you
BlobVanDam
16
Years of Service
User Offline
Joined: 26th Jul 2008
Location: one of Cybertrons moons
Posted: 2nd Jan 2009 07:48
The demo code in the help file is



That worked for me. So I think you still need to render your camera to an image first, these new commands just make things easier.

If your shader still doesn't work, find the quad.fx in the Compiler\Effects folder and work from that instead (you could always head on to the shader thread for help).

That's how I did it, and it's worked fine for me

Login to post a reply

Server time is: 2024-11-24 16:24:33
Your offset time is: 2024-11-24 16:24:33