Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,449 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Mirror/Render-to-Texture example? #353872
01/13/11 17:51
01/13/11 17:51
Joined: Jan 2011
Posts: 120
United States
Logan Offline OP
Member
Logan  Offline OP
Member

Joined: Jan 2011
Posts: 120
United States
My A8 Commercial is fresh out of the box and I'm trying to toy around with some new features, particularly those that weren't available in my A6 Commercial. As far as I can tell the way of doing mirrors has changed/evolved considerably from the A5 days, and I was looking for some input on how to approach the problem now. Do we use view rendering, or has that been largely abandoned for shaders? Can anyone help me out with a concise example of an A8 mirror, or at least point me in the direction of one?

Re: Mirror/Render-to-Texture example? [Re: Logan] #353876
01/13/11 18:29
01/13/11 18:29
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Open "mtlFX.c". There you will find an example for a floor mirror called "fx_mirrorFloor". The subfunctions fx_mirror() and mirror_init() should explain everything in detail as they are well commented.

Btw. was your user name LoganTheHogan or the like?

Last edited by Superku; 01/13/11 18:29.

"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: Mirror/Render-to-Texture example? [Re: Superku] #353892
01/13/11 21:09
01/13/11 21:09
Joined: Jan 2011
Posts: 120
United States
Logan Offline OP
Member
Logan  Offline OP
Member

Joined: Jan 2011
Posts: 120
United States
Thanks Superku. I'll take a look. And yes... LogantheHogan was me. I'm back for another round, hopefully with less annoyingness and more intelligence this time. wink Thanks for remembering me.

Re: Mirror/Render-to-Texture example? [Re: Logan] #353912
01/14/11 06:26
01/14/11 06:26
Joined: Jan 2011
Posts: 120
United States
Logan Offline OP
Member
Logan  Offline OP
Member

Joined: Jan 2011
Posts: 120
United States
I appreciate it Superku, that script file was just what I was looking for. Plus, it contains a bunch of other sweet stuff that I didn't know was just sitting on my hard drive. Nothing better than that, except maybe the feeling of finding money in your pocket you forgot about.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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