Bug Reports / trouble with shader

Author
Message
Lafette II
11
Years of Service
User Offline
Joined: 15th Oct 2012
Location:
Posted: 24th Mar 2018 13:40
Hi...

A quick question, is there a way to replace scrolling texture.fx or modify it? I have some objects that depend on them. Just like the waterfall2.fx. They no longer work with the PP. I have placed these in the appendix for comparison, as I do not know how they were called in the original.

Andreas

Attachments

Login to view attachments
PM
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 24th Mar 2018 15:31
Have you tried this one for dx11?

effect_scroll.fx

Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Lafette II
11
Years of Service
User Offline
Joined: 15th Oct 2012
Location:
Posted: 24th Mar 2018 15:50
Thanks for the answer. I will test it right away ...
PM
Lafette II
11
Years of Service
User Offline
Joined: 15th Oct 2012
Location:
Posted: 24th Mar 2018 16:11
ok, effect scroll.fx is the replacement for scrolling texture.fx, it works fine

Thank you, Pirate Myke
PM
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 24th Mar 2018 17:05
You are welcome.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Lafette II
11
Years of Service
User Offline
Joined: 15th Oct 2012
Location:
Posted: 25th Mar 2018 09:18
Now I got the effect_scroll.fx so far that it flows in the y-direction and the water does not make the parts behind it appear transparent. But it flows in the wrong direction. Is there a way to reverse the scroll direction, or do I have to change the model?
I hope you can read my google-english. Many Thanks..

Andreas
PM
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 25th Mar 2018 12:36
Change these lines in the shader and recompile the shader.

float directionX = 0.0f;
float directionY = 0.3f;

A negative value will change the direction also.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Lafette II
11
Years of Service
User Offline
Joined: 15th Oct 2012
Location:
Posted: 25th Mar 2018 13:52
Aah, I understand ..., you have to remove the .blob file first. Now he has switched. Many thanks
PM
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 25th Mar 2018 15:59
Your welcome.
The editor will compare the dates of the .fx file and the .blob file and re compile the blob file if the .fx date is newer of there is a new shader name.
I would make a copy of it, change the name, put in the direction speeds you want, save the file, run it thru the editor with the forceloadtestgameshaders=1 in the setup.ini file to remake the new .blob file.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Login to post a reply

Server time is: 2024-04-20 08:58:39
Your offset time is: 2024-04-20 08:58:39