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.

Dark GDK / Bloom Shader won't work

Author
Message
The Real Abaddon
16
Years of Service
User Offline
Joined: 26th Jun 2008
Location:
Posted: 3rd Nov 2008 16:46
I`m trying to implement into my scene bloom effect for all the objects, i`m still new to the shader thing and don't know if i made this right but can anyone show me what i missed because nothing changed in my game and i get an error "GetVector does not exist" and when i look in a certain angle i see the quad textured all over my screen.

Here is my code:

In the same scene i have implemented Fresnel Water using cameras 1 and 2.
General Reed
18
Years of Service
User Offline
Joined: 24th Feb 2006
Location:
Posted: 3rd Nov 2008 23:11
Quote: "dbSetEffectConstantVector ( 5, "ViewSize", 1 );"


You need to change 1 to 71.

-General Reed

CPU: AMD X2 6000+ 3.0ghz GFX: NVIDIA BFG Geforce 8800GTS 640MB OC-550mhz core RAM: 2048mb

The Real Abaddon
16
Years of Service
User Offline
Joined: 26th Jun 2008
Location:
Posted: 4th Nov 2008 12:12
Thank you General Reed that solve the "GetVector" problem but i`m still not seeing any change in my scene, i just get a textured plain all over my screen when i look in a certain angle like in pic1.jpg that i attached.
Did i miss something to add in the code ? I really want to add bloom to all my scene.

Attachments

Login to view attachments
General Reed
18
Years of Service
User Offline
Joined: 24th Feb 2006
Location:
Posted: 4th Nov 2008 15:30
No probs.

I cant really do much about the other bug, unless you show the loop where the shader is updated. If you are not updating the camera position + angle and the quad position + angle, then thats the problem.

Please send me the update routine, for this bloom shader, and i can help more.

-General Reed

CPU: AMD X2 6000+ 3.0ghz GFX: NVIDIA BFG Geforce 8800GTS 640MB OC-550mhz core RAM: 2048mb

The Real Abaddon
16
Years of Service
User Offline
Joined: 26th Jun 2008
Location:
Posted: 8th Nov 2008 22:30
Can you show me an example of update code to update the whole scene with bloom please, if that is not too much to ask.

Thanks.

Login to post a reply

Server time is: 2024-09-30 09:21:19
Your offset time is: 2024-09-30 09:21:19