Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    Fog end

    Help
    2
    9
    60
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Coder0145
      Coder0145 last edited by

      I’m adding fog to one of my 3d games, and have almost gotten it working right. Is there an option for the fog to affect objects but not the sky? Because now my sky is just the color of the fog.

      info-creaticode 1 Reply Last reply Reply Quote 0
      • info-creaticode
        CreatiCode @Coder0145 last edited by

        @coder0145

        The fog is added in front of the camera, so no matter which direction you look at through the camera, there is fog. Is there any reason why there wouldn’t be fog above the player’s head?

        Coder0145 1 Reply Last reply Reply Quote 0
        • Coder0145
          Coder0145 @info-creaticode last edited by

          @info-creaticode I’m making a depth effect to the hallway you are in, but there are windows where you can see the sky. I do get that in real life fog covers the sky though.

          info-creaticode 1 Reply Last reply Reply Quote 0
          • info-creaticode
            CreatiCode @Coder0145 last edited by

            @coder0145

            Got it. Which scene are you using? We might be able to give you a way to disable fogging effect for the skybox you are using.

            Coder0145 1 Reply Last reply Reply Quote 0
            • Coder0145
              Coder0145 @info-creaticode last edited by

              @info-creaticode The grassland scene.

              Coder0145 1 Reply Last reply Reply Quote 0
              • Coder0145
                Coder0145 @Coder0145 last edited by

                @coder0145 But I’m changing the sky to the “Blue Sky”

                info-creaticode 1 Reply Last reply Reply Quote 0
                • info-creaticode
                  CreatiCode @Coder0145 last edited by info-creaticode

                  @coder0145

                  OK. We can adjust that skybox to disable the fog. Would this be what you are looking for? We can release this over the weekend.

                  f2c37ee8-e2f2-44ff-95f6-040d9891ab9e-image.png

                  Coder0145 1 Reply Last reply Reply Quote 0
                  • Coder0145
                    Coder0145 @info-creaticode last edited by

                    @info-creaticode Yes, it would. The box is just to demonstrate the fog works on objects, right?

                    info-creaticode 1 Reply Last reply Reply Quote 0
                    • info-creaticode
                      CreatiCode @Coder0145 last edited by

                      @coder0145 said in Fog end:

                      The box is just to demonstrate the fog works on objects, right?

                      That’s correct.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post