Announcement

Collapse
No announcement yet.

Fluid Reflection Not Aligning

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Fluid Reflection Not Aligning

    Hello

    The setup I have a pretty simple.
    A fluid and a reflection made with RTT 2D.
    I have attached screens of the shader.

    The problem is that the reflection does not update at game start but only when I interact with one of the reflective surfaces.
    Untill then it just reflects but not aligned.

    I think its just a click somewhere but I just cant find it.

    Am I doing anything wrong ?

    Pls help.



    Uploaded with ImageShack.us



    Uploaded with ImageShack.us



    Uploaded with ImageShack.us

    #2
    Cmon guys.
    I'm really at the end of the road with this one.

    Just these reflections are killing me.

    help pls !!!

    Comment


      #3
      Have you set "Screen Align" on the ScreenPos node?

      Comment


        #4
        Yes. It is checked. Otherwise it gives me some weird green lines all over the surface.

        Comment


          #5
          Strange.. your capture is enabled always? The update freq high enough? When I do this it is always fine from the beginning..

          Comment


            #6
            Hope this one answers most questions related to ScreenCapture Actor.
            And about the frame rate, I have tried settings from 1 to 1000.
            Same result.



            Uploaded with ImageShack.us

            Comment


              #7
              Could this be a problem with the FluidNormal node? As this updates when touching the FluidActor and so does the FluidNormal (node)? This is the only thing I see that might be a problem besides bScreenAlign not being checked.

              So are there any related properties in 1. the FluidActor or 2. the FluidNormal node?

              Just an idea, don't quote me on this

              Comment


                #8
                Here's my setup, just most basic stuff without any additional effects. I had no problems with reflection before touching fluid surface. For normal input I used ADD with Fluid Normal to A input and wavesnormal texture sample to input B; though I had the same effect when I connected just wavesnormal texture sample to the Normal input (but since I saw in tuts that fluid normal goes also to Normal input I placed that ADD node there). For waves distortion setup I used this, of course you'll add all the extra effects later:

                http://utforums.epicgames.com/showthread.php?t=733910

                Material setup:

                [shot]http://img175.imageshack.us/img175/3018/matsetup.jpg[/shot]

                Before touching fluid surface:



                After touching fluid surface:

                Comment


                  #9
                  Indeed it is.
                  Fluid normal node was causing it for me.

                  Thanx Alot guys.

                  Great, Great input.

                  Comment


                    #10
                    Hi guys, sorry if i'm reviving a topic i shouldn't, but here goes: I had the same problem, and yes, adding the fluid normal red and green components to the setup that leads to diffuse causes the reflection to only align properly after you touch the fluid...

                    Well, as the other guy did, i could just remove it, but... removing it causes a problem, as my interaction with the water will not affect the reflection anymore... It affects just fine if i leave the fluid normal there.

                    Does anyone knows a way around it? To have proper reflections on the waves you create in contact with the water, without the incorrectly aligned reflections before you make contact with it?

                    Thanks in advance!

                    Comment

                    Working...
                    X