Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Ayumi), 1,405 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
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 Offline OP
Serious User
Stansmedia  Offline 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.

Decessus - 80% done. 100% abandoned.
GET MY ANDROID GAME! https://play.google.com/store/apps/details?id=com.lasertrain.zspinballfree&hl=en
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 Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Quote:
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 Offline OP
Serious User
Stansmedia  Offline 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.

Decessus - 80% done. 100% abandoned.
GET MY ANDROID GAME! https://play.google.com/store/apps/details?id=com.lasertrain.zspinballfree&hl=en
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 Offline OP
Serious User
Stansmedia  Offline 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.

Decessus - 80% done. 100% abandoned.
GET MY ANDROID GAME! https://play.google.com/store/apps/details?id=com.lasertrain.zspinballfree&hl=en
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 Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Quote:
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
Re: pp_set/add setting obscure screen size [Re: Superku] #442205
06/16/14 00:47
06/16/14 00:47
Joined: Mar 2003
Posts: 1,524
Canada
Stansmedia Offline OP
Serious User
Stansmedia  Offline OP
Serious User

Joined: Mar 2003
Posts: 1,524
Canada
I don't know what the hell happened now. The mirrors gone all screwed up. The skys rendering transparent. And my esc key doesn't work anymore. This is so depressing.


Decessus - 80% done. 100% abandoned.
GET MY ANDROID GAME! https://play.google.com/store/apps/details?id=com.lasertrain.zspinballfree&hl=en
Re: pp_set/add setting obscure screen size [Re: Stansmedia] #442207
06/16/14 00:53
06/16/14 00:53
Joined: Mar 2003
Posts: 1,524
Canada
Stansmedia Offline OP
Serious User
Stansmedia  Offline OP
Serious User

Joined: Mar 2003
Posts: 1,524
Canada
Seriously. Everythings gone to hell. It's like the engine is shorting out or something.


Decessus - 80% done. 100% abandoned.
GET MY ANDROID GAME! https://play.google.com/store/apps/details?id=com.lasertrain.zspinballfree&hl=en
Re: pp_set/add setting obscure screen size [Re: Stansmedia] #442260
06/16/14 21:04
06/16/14 21:04
Joined: Mar 2003
Posts: 1,524
Canada
Stansmedia Offline OP
Serious User
Stansmedia  Offline OP
Serious User

Joined: Mar 2003
Posts: 1,524
Canada


Decessus - 80% done. 100% abandoned.
GET MY ANDROID GAME! https://play.google.com/store/apps/details?id=com.lasertrain.zspinballfree&hl=en
Re: pp_set/add setting obscure screen size [Re: Stansmedia] #442263
06/16/14 22:17
06/16/14 22:17
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Hm try setting FLAG1 on the water surface entity, then NOFLAG1 on the reflection view.
Somehow the reflection view looks wrong, too, like its tilt has the wrong sign.


"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] #442267
06/17/14 01:56
06/17/14 01:56
Joined: Mar 2003
Posts: 1,524
Canada
Stansmedia Offline OP
Serious User
Stansmedia  Offline OP
Serious User

Joined: Mar 2003
Posts: 1,524
Canada
At certain angles viewing the water plane in the large indoor map, it branches out into like a kaleidoscope. In certain "portals" in the artifacts, I can see the proper reflection. In the other level, the camera stays close to the water surface the entire level. I decided to fly the camera around and after getting a little ways away the reflection disappears.

I set the water plane entity flag1 and noflag1 on the view mirror. No effect.


Decessus - 80% done. 100% abandoned.
GET MY ANDROID GAME! https://play.google.com/store/apps/details?id=com.lasertrain.zspinballfree&hl=en
Page 2 of 3 1 2 3

Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1