1 registered members (BrainSailor),
869
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: pp_set/add setting obscure screen size
[Re: Stansmedia]
#442187
06/14/14 16:27
06/14/14 16:27
|
Joined: Mar 2003
Posts: 1,524 Canada
Stansmedia
OP
Serious User
|
OP
Serious User
Joined: Mar 2003
Posts: 1,524
Canada
|
And for some reason the shadows on the model are rendering vertex style. All chunky.
edit: Scratch that. I set the default normal map material to the model and ran its event to check for none camera view and change. Instead of having a blank material and setting either above water or below water material.
Last edited by Stansmedia; 06/14/14 16:37.
|
|
|
Re: pp_set/add setting obscure screen size
[Re: Stansmedia]
#442194
06/15/14 08:34
06/15/14 08:34
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
The water_heigh_var isn't making its way into the shader properly.. Then you've made a mistake somewhere, I use this feature all the time. Did you for example write var water_height_var = 123; instead of var water_height = 123; ?
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual Check out my new game: Pogostuck: Rage With Your Friends
|
|
|
Re: pp_set/add setting obscure screen size
[Re: Superku]
#442201
06/15/14 19:42
06/15/14 19:42
|
Joined: Mar 2003
Posts: 1,524 Canada
Stansmedia
OP
Serious User
|
OP
Serious User
Joined: Mar 2003
Posts: 1,524
Canada
|
in my script i have: var water_height = 3;
in my fx file i have: float water_height;
Not sure why its not working. Also not sure why the water isn't reflecting on larger planes in other maps. It's being rendered all "kaleidoscope" style.. Fix one problem and another pops up. Coding whack-a-mole.
Edit: I really should have backed up my mtlFX file lol
Last edited by Stansmedia; 06/15/14 19:43.
|
|
|
Re: pp_set/add setting obscure screen size
[Re: Stansmedia]
#442202
06/15/14 20:01
06/15/14 20:01
|
Joined: Mar 2003
Posts: 1,524 Canada
Stansmedia
OP
Serious User
|
OP
Serious User
Joined: Mar 2003
Posts: 1,524
Canada
|
Top right of the water plane seems to be normal. Theres like a split halfway through the screen with the inverted reflection it looks like. To the right, its splitting into a star shape. Blah. EDIT: I just took off NOCULL and it works fine now. Durp.
Last edited by Stansmedia; 06/15/14 20:10.
|
|
|
Re: pp_set/add setting obscure screen size
[Re: Stansmedia]
#442203
06/15/14 20:51
06/15/14 20:51
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
3) Define var water_height = 123; in your script and write float water_height_var; at the beginning of your shader file. See manual (I think "...flt" or similar) for more info.
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual Check out my new game: Pogostuck: Rage With Your Friends
|
|
|
|