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 / Ultimate Shader Pack - Water Shader not working properly

Author
Message
luskos
16
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 1st Mar 2010 23:30
Hi guys, i download Ultimate Shader Pack and there is a Water Shader i like a lot but, it`s not working properly.When i load the example code everything looks very nice exept that when i look into water it reflects graphics from a game i`ve played before that.I recognize the game - Warcraft III and the graphics in the water reflection is the game hud, orchish style.I`ll atach picture.Very strange bug really.How can i clean the water surface?

Where there is a will, there is a way.

Attachments

Login to view attachments
Link102
19
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 1st Mar 2010 23:37 Edited at: 1st Mar 2010 23:43
looks like a memory mismatch. Bug in the shader?
I have the same problem, but I thought it was my (onboard) video card.

attached is a shot from "2006 - Free Shaders Pack/01 - Objects - No Lights/06 - Water [Evolved] [SM2.0]"

Attachments

Login to view attachments
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 2nd Mar 2010 00:57
Change the order the cameras are created. This sometimes solves it.

My signature is NOT a moderator plaything! Stop changing it!
luskos
16
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 2nd Mar 2010 06:54 Edited at: 2nd Mar 2010 09:42
@ Mobiius : Man , you was at least half right about this.Thank you for pointing me the right direction!

Quote: "looks like a memory mismatch. Bug in the shader?
I have the same problem, but I thought it was my (onboard) video card.

attached is a shot from "2006 - Free Shaders Pack/01 - Objects - No Lights/06 - Water [Evolved] [SM2.0]"
"


@Link102: No it`s not bug in the shader man, it`s bug really but it`s just DBPro i think.It`s not related with the video adapter memory or something like that.I found in the example code that actually refraction camera was set to image with illeagal number ImgNum, which is simply not existing image...When i set it to ImgNum+1 which is the terrain texture all goes right and smooth.Ataching image.

Where there is a will, there is a way.

Attachments

Login to view attachments
Link102
19
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 2nd Mar 2010 11:24
could you post a code?

luskos
16
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 2nd Mar 2010 16:08 Edited at: 3rd Mar 2010 14:45
Sure!

I check the other water shader in the package but it`s not that easy to make it work like this one.It have the same problem, some graphics in the water...
Look at this tread also it`s the same example but this dude make it even better looking. http://forum.thegamecreators.com/?m=forum_view&t=166708&b=1
P.S. Your signature is very provocative.Can i see some work of yours?I`m not that good with photoshop.

Where there is a will, there is a way.
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 3rd Mar 2010 14:27
Make sure the cameras are numbered in sequence, with no gaps, i.e. use 1, 2, 3, etc, not 30, 31, 32, etc, as in some of Evolved's old demos.

I think the shader pack was produced before the DBPro update that changed the rules for camera usage. This probably ought to be mentioned in the DBPro Help file.
luskos
16
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 5th Mar 2010 01:37
Well even if they are in sequence 1,2,3 it`s the same i try it.Look at the post above your last, there is link to thread where the problem is solved.I download the code and try it, works better than mine, just haven`t time to look at it right now, what is changed.

Where there is a will, there is a way.
Kill3r7
User Banned
Posted: 5th Mar 2010 04:54
Why not enter in the New page from evolved? In this page you can add more fast the source for your games

luskos
16
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 5th Mar 2010 20:11
What is New page?I`ll try to find what is this, never heard of it.

Where there is a will, there is a way.
Kill3r7
User Banned
Posted: 5th Mar 2010 23:51
[href]www.evolved-software.eu[/href]

in this page you can see the new shaders, and the source code, if you have a problems with this code talk with me

luskos
16
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 6th Mar 2010 01:09
Server not found!Are you sure about this?

Where there is a will, there is a way.
Daniel wright 2311
User Banned
Posted: 6th Mar 2010 01:11
yea i get the same error withe said page

Kill3r7
User Banned
Posted: 6th Mar 2010 04:42 Edited at: 6th Mar 2010 04:43
Sorry, I have a problem ^^

http://www.evolved-software.com

Login to post a reply

Server time is: 2024-04-25 15:53:35
Your offset time is: 2024-04-25 15:53:35