Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    3D First person skybox methods

    Advanced
    3
    6
    527
    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.
    • Tratax
      Tratax F last edited by Tratax

      Hi All, I'm currently working on a 3D demo that uses multiple cameras (isometric, fixed tracking and first person) and need some help!

      I have the 3D scene setup correctly, input and maths doing its magic and would like to now create a custom skybox.. I'm a fan of gradients so having a level of control over the color/gradient/tint of this would be amazing

      Here are some of the methods I have tried so far:

      • Create a cube, set the scale to be much larger than the player object, have the cube position fixed against the player location | Outcome: *the drawObject function appears to only draw the "outside" of a 3D object - setting the camera "inside" an object appears to intentionally not draw the objects inner surface *
      • Use the createBox() function and create a box half the size of the screen with a nice gradien | Outcome: This works as long as nothing sits higher than half the screen height.. the drawing only works if placed after the 3D "drawObjects" function , placing this before appears to perform a clearscreen, I guess this is expected behaviour as it's a 2D method?

      Open to any suggestions! I'll post a video of examples of the above later

      1 Reply Last reply Reply Quote 0
      • LinkCraft
        LinkCraft F last edited by

        Did you try placing 6 flat boxes on every side like walls in a room?

        Tratax 1 Reply Last reply Reply Quote 1
        • Tratax
          Tratax F @LinkCraft last edited by

          @LinkCraft02 Was thinking about doing this too! Haven't tried it yet as I'm not sure how to texture or apply a gradient to a box object yet...

          1 Reply Last reply Reply Quote 0
          • Dave
            Dave Fuze Team last edited by

            Hi @Tratax! We'll be adding some dedicated skybox functions in the next patch. You might want to hold out for them!

            Tratax 1 Reply Last reply Reply Quote 0
            • Tratax
              Tratax F @Dave last edited by

              Hey @Dave, That's awesome! Can't wait to give this a try

              1 Reply Last reply Reply Quote 0
              • Tratax
                Tratax F last edited by

                Here's my very hacky 2D skybox!

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