Gamestudio Links
Zorro Links
Newest Posts
How to select between IB accounts by script?
by AndrewAMD. 06/13/26 15:44
Zorro tutorial ideas?
by AndrewAMD. 06/13/26 15:01
Zorro 3.01 recoded MMI function issue
by 11honza11. 06/13/26 11:40
Max Number of Strategies in /Strategy folder
by Martin_HH. 06/12/26 08:50
Stooq now requires an API key
by AndrewAMD. 06/11/26 17:55
Z9 getting Error 058
by k_ivan. 06/10/26 14:38
ZorroGPT
by TipmyPip. 06/10/26 13:07
Z12 live performance
by alx. 06/09/26 20:42
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 1,733 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to use the mirrorFloor effect #336865
08/06/10 17:13
08/06/10 17:13
Joined: Apr 2010
Posts: 56
Badrizmo Offline OP
Junior Member
Badrizmo  Offline OP
Junior Member

Joined: Apr 2010
Posts: 56
I'm really facing problems using this material, when I apply it to the ground it doesn't make any reflections. Any ideas how to make it work?

Re: How to use the mirrorFloor effect [Re: Badrizmo] #336868
08/06/10 17:22
08/06/10 17:22
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
I suppose you have a dyinamic light?


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: How to use the mirrorFloor effect [Re: painkiller] #336885
08/06/10 19:16
08/06/10 19:16
Joined: Apr 2010
Posts: 56
Badrizmo Offline OP
Junior Member
Badrizmo  Offline OP
Junior Member

Joined: Apr 2010
Posts: 56
Yea I have one dynamic light source,

okay, just figured out how to make it work

1- Create a map entity with the same dimensions as your floor
1-1 Open WED
1-2 Save the project with any name you wish (e.g. floor)add small cube
1-3 Scale the cube to have the same size of the floor
1-4 Texture the cube
1-5 Build the level


2- Take the resulted file with the wmb extension (floor.wmb)
3- put the floor.wmb in your probject directory
4- In your project right click and add the floor as map entity
5- assign this map entity the following action.

#include <mtlFX.c>
action Reflect()
{
fx_mirrorFloor();
my.albedo = 80;
}
6- run your level and start moving with the player, and you will see very nice realtime reflections.


Last edited by Badrizmo; 08/09/10 05:34.

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