Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 7,096 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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 | 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