Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Water reflection of world
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#1
Water reflection of world

Hello, I have been creating a water area. First the water reflected what was above, now after playing around with some lights that reflection has been removed.

What causes the water to reflect the surrounding world?

[Image: mZiYnxe.png]


02-12-2011, 10:47 PM
Find
Ongka Offline
Member

Posts: 225
Threads: 3
Joined: Nov 2010
Reputation: 20
#2
RE: Water reflection of world

1. Create a spotlight
2. Gobo -> gobo_water_001.dds
3. Anim Mode -> Loop
4. Frame Time: 0.08

[Image: 18694.png]
02-13-2011, 12:09 AM
Find
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#3
RE: Water reflection of world

Oh, I used that to reflect the water on the surrounding world. Didn't know it worked in both directions! thanks

[Image: mZiYnxe.png]


02-13-2011, 06:32 AM
Find
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#4
RE: Water reflection of world

Perhaps I am creating the spotlight wrong but that didn't help. What I am talking about is the water mirroring the world. When you look into the water you see a reflection of what is around. I am wondering what causes that reflection?

Edit: Can it be that the engine turns reflection off due to performance issues?

[Image: mZiYnxe.png]


(This post was last modified: 02-13-2011, 08:07 PM by Acies.)
02-13-2011, 07:22 PM
Find
jens Offline
Frictional Games

Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation: 202
#5
RE: Water reflection of world

You have to use the correct material to get the world to reflect, check one of the amnesia maps that reflect the world (not all water does) in the level editor to see what material it uses.
02-14-2011, 06:55 AM
Website Find
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#6
RE: Water reflection of world

Now I've found the issue. It was quite strange. It has to do with walls I have added on the map. As soon as I remove them the water starts reflecting the world again. But when I add them the water doesn't reflect the world any more. It doesn't matter where I add these walls. I don't know if this is a bug jens, perhaps I should send the map so that you may look at it?

Edit: Worked around it & made the map work.

[Image: mZiYnxe.png]


(This post was last modified: 02-15-2011, 03:25 PM by Acies.)
02-15-2011, 03:04 PM
Find
lllDash Offline
Member

Posts: 108
Threads: 12
Joined: Apr 2012
Reputation: 3
#7
RE: Water reflection of world

(02-15-2011, 03:04 PM)Acies Wrote: Now I've found the issue. It was quite strange. It has to do with walls I have added on the map. As soon as I remove them the water starts reflecting the world again. But when I add them the water doesn't reflect the world any more. It doesn't matter where I add these walls. I don't know if this is a bug jens, perhaps I should send the map so that you may look at it?

Edit: Worked around it & made the map work.
I know this is an old post but I also have a problem with trying to get the water in my map to reflect the environment. I wish Acies mentioned how he fixed his. Help please.
06-14-2012, 08:32 PM
Find
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#8
RE: Water reflection of world

It was a strange issue (so long ago though). A couple of walls from the "last level/orb room" stopped reflections from happening. Might have had crossing spotlights - but removing those wallpieces solved it.

[Image: mZiYnxe.png]


07-02-2012, 07:59 PM
Find
nemesis567 Offline
Posting Freak

Posts: 874
Threads: 65
Joined: May 2011
Reputation: 10
#9
RE: Water reflection of world

Maybe there was a leak in the map because of those walls. In Source, leaks would prevent the map's radiosity and reflections from being compiled thus forfeiting the map's shading and lighting.

Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
07-02-2012, 08:04 PM
Find




Users browsing this thread: 1 Guest(s)