Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
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
3 registered members (kzhao, AndrewAMD, bigsmack), 824 guests, and 5 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
views with different shaders #162232
10/19/07 21:07
10/19/07 21:07
Joined: May 2005
Posts: 83
Texas
mocosgames Offline OP
Junior Member
mocosgames  Offline OP
Junior Member

Joined: May 2005
Posts: 83
Texas
Is there a way to have multiple views that each render a different shader at the same time?

Re: views with different shaders [Re: mocosgames] #162233
10/19/07 21:10
10/19/07 21:10
Joined: Mar 2007
Posts: 99
Germany
zSteam Offline
Junior Member
zSteam  Offline
Junior Member

Joined: Mar 2007
Posts: 99
Germany
hi

yes!

- make 4 views e.g. 4x 256x256px .. each has a own name like view1, view2,....
- than write in a function =>
view1.material= ...
view2.material= ...
view3.material= ...
view4.material= ...


=> www.alrik-online.de
A7 Commercial
Re: views with different shaders [Re: zSteam] #162234
10/19/07 21:24
10/19/07 21:24
Joined: May 2005
Posts: 83
Texas
mocosgames Offline OP
Junior Member
mocosgames  Offline OP
Junior Member

Joined: May 2005
Posts: 83
Texas
When I try that it has an error. Does it not work with A6 commercial?

Re: views with different shaders [Re: mocosgames] #162235
10/19/07 21:29
10/19/07 21:29
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
nope, its a beta feature

check the manual
Quote:


render_view
The currently rendering view in a material event. By evaluating this pointer, certain effects can be changed depending on the view.




however, this isnt nearly as comfortable as view.material


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: views with different shaders [Re: ello] #162236
10/19/07 22:48
10/19/07 22:48
Joined: May 2005
Posts: 83
Texas
mocosgames Offline OP
Junior Member
mocosgames  Offline OP
Junior Member

Joined: May 2005
Posts: 83
Texas
I cant get it it to work correctly this way. I think it needs to check render_view in the material event since it has to be different for each view, but I can't find a way to change the material in a material event.


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