FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Looking for help to edit textures for PBR shaders

    Scheduled Pinned Locked Moved Contribution
    29 Posts 14 Posters 18.5k Views 1 Watching
    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.
    • JipJ Offline
      Jip
      last edited by Jip

      This is a request for help. We're looking for contributor(s) that can find their way around software like Photoshop or Gimp. There is no need to be an artist in creating textures, but it may be useful.

      What is it about

      @BlackYps and @Blodir have been working throughout September and early October to port shaders into Supreme Commander that better represent lighting. Using these new shaders units will feel more part of the environment and in general they'll look a lot crisper.

      You can find the details here:

      • https://github.com/FAForever/fa/pull/4247

      And you can find shards of what has been implemented here:

      • https://learnopengl.com/PBR/IBL/Diffuse-irradiance
      • https://learnopengl.com/PBR/IBL/Specular-IBL
      • https://blog.selfshadow.com/publications/s2013-shading-course/

      The initial scope is that all generated maps support these new shaders. Existing maps will not support them, and it is unsure at this point if they will in the near future. PBR shaders are a lot more sensitive to their input, and some of that input is set by the map.

      d5f14eea-f00e-4fd2-be7b-456f3ff3be8f-image.png

      01ffeb77-dd40-4852-87b7-0d94863a2242-image.png

      What is the task

      We're looking for people that can help us create or repair certain texture channels. Usually these can be constructed by applying filters in a certain order to the albedo texture. But we're not sure if that applies to all units at this point. We also do not have a list of all units. Based on initial blender shaders written by BlackYps we're certain that a lot of units will need their textures tweaked to some degree.

      The general description of the task is as follows:

      • (a) Pick a unit from a list of units to process
      • (a) Find and convert the textures of the unit to a format that is easier to edit
      • (a) Create or repair (missing) channels
      • (a) Store the textures in the correct format
      • (b) Confirm changes are applied in-game and take screenshots of the result

      You'll need in general:

      • (a) Some degree of familiarity with tools like Photoshop or Gimp
      • (b) Access to a development environment for the game, as shown on Youtube

      When can we start

      We'll use the first two weeks of November to compose a list of units. We'll also introduce a setup that allows us to easily validate how units look.

      The goal is that you can pick up the first unit on the 13th of November.

      The aim is that we finalize the last units in early January, so that we can ship these changes with the developers patch of January.

      A work of art is never finished, merely abandoned

      1 Reply Last reply Reply Quote 5
      • JipJ Offline
        Jip
        last edited by Jip

        List of people that are interested in helping when the time comes:

        • Madmax
        • ruskul
        • Microships

        Note that by signing up you're not obligated to do anything. We're a voluntary association - you can pick it up as you see fit at the time.

        Initial list of units that will require attention (as per 31/10/2022)

        Something is wrong, but we're not sure what yet

        anti-air gunship

        Aeon T3 Artillery

        Tempest

        Normals of

        Atlantis

        T2 Aeon Transport

        Mongoose

        UEF Land HQ

        Missing or broken blue channel of many UEF units, including

        T2 PGen

        Pillar

        Mongoose

        Missing red channel of many Cybran units, including

        Mantis

        Hoplite

        Hydrocarbon

        Shield generators

        Mass extractor

        mobile stealth gen

        T3 PGen

        Scathis

        T1 bomber

        T1 air scout

        Torp bomber

        Wall (also missing green channel)

        Broken red channel on various Cybran units, including

        Nuke launcher

        transports

        land factories

        stealth boat

        A work of art is never finished, merely abandoned

        1 Reply Last reply Reply Quote 0
        • BlackYpsB Offline
          BlackYps
          last edited by

          To expand on Jip's post, here is an example of a unit with texture problems:
          cybran.png
          In this particular case the mex is missing the red channel of the specTeam texture, which we mainly use to determine the metalness of a unit. You can see that the gray areas of the mex look rather dull and not like metal at all, while these triangles of the Wailer look much better, because the Wailer has correct textures.

          Your job here would be to create the red channel. For this it's probably easiest to convert the albedo texture to grayscale and then maybe tune the contrast and brightness a bit.
          Many Cybran units have this problem of a missing red channel, so once you figured out a workflow that works for you, you can probably fix a lot of units in little time.

          1 Reply Last reply Reply Quote 0
          • MadMaxM Offline
            MadMax
            last edited by

            go on then ill sign up can we get a post about the methodology for testing changes

            Vault Admin / Creative Team / Map Guru

            JipJ 1 Reply Last reply Reply Quote 2
            • JipJ Offline
              Jip @MadMax
              last edited by

              @madmax said in Request for help to edit textures for PBR shaders:

              go on then ill sign up can we get a post about the methodology for testing changes

              Yes - we're working on it!

              A work of art is never finished, merely abandoned

              1 Reply Last reply Reply Quote 0
              • R Offline
                ruskul
                last edited by

                I'd love to help.

                1 Reply Last reply Reply Quote 2
                • MicroshipsM Offline
                  Microships
                  last edited by

                  I'd love to help as well, about time I make some contributions! I have some experience B.S. CS w/ Physics

                  1 Reply Last reply Reply Quote 3
                  • F Offline
                    fredriklars
                    last edited by fredriklars

                    Wow! A chance to help out.
                    I am in. I am an environment artist and I have a good bit of experience with shader work in various engines.

                    Unfortunately we are in a bit of a crunch at work though so my time right now might be limited. Do we have a rough Idea about when we want this taken care of?
                    Missed the last paragraph. I will get a clone and start getting familiar with the repo. Hopefully I will be able to contribute.

                    Just for a general approach though I would suggest we look into a systemic and iteration friendly approach through substance designer(Or painter, depending on how much of a re-work we want to do) doing one unit at a time will end up with inconsistent results.

                    1 Reply Last reply Reply Quote 3
                    • BlackYpsB Offline
                      BlackYps
                      last edited by BlackYps

                      Huge thanks to everyone that has shown up already! We will still need some time to post more instructions as Jip is busy with the game patch release at the moment and I am busy with dealing with my failed hard drive. So expect it to be some days until the next update.
                      I have never used substance designer, so I can't comment on the specifics. A unified workflow will surely help with units that have entirely missing texture channels. For the rest, the challenge is that their current textures are inconsistent already, so they have to be brought more in line with each other. This means that you will have to do some of them one at a time anyway.

                      You won't have to spend much time getting familiar with the repo. You just have to set up the environment so you can easily and rapidly test the texture changes in game, but you don't have to change any code for this. It's just a matter of copying the texture into the right folder.

                      1 Reply Last reply Reply Quote 1
                      • BolmagasaB Offline
                        Bolmagasa
                        last edited by

                        So how can i help?

                        Design without project is just a mere coincidence

                        1 Reply Last reply Reply Quote 0
                        • G Offline
                          GD-
                          last edited by magge

                          I'm too limit by time, but would like to help too.
                          B. Sc. EE

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            CatchThat
                            last edited by

                            Hey all, I can help with this, I know my way around Photoshop. Let me know how I can assist.

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              slowBro
                              last edited by slowBro

                              Hello, Gyle sent me! I have 10+ years of game development experience as an artist and have worked extensively with PBR shaders.

                              Also, yay Metal! The new shaders are looking great 🙂

                              1 Reply Last reply Reply Quote 0
                              • thorolavsT Offline
                                thorolavs
                                last edited by

                                Hi!😊 I would love to help out. I have a lot of experience with Photoshop, but I have zero knowledge about development of games.

                                1 Reply Last reply Reply Quote 0
                                • JipJ Offline
                                  Jip
                                  last edited by

                                  We'll make it work 👍 , our appreciation to everyone that have shown up already! We'll be working on making a list of items this weekend. That will contain what needs to be done, a general approach on how it can be done and a way to test it locally to confirm your changes.

                                  A work of art is never finished, merely abandoned

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sodisodisodi
                                    last edited by

                                    Need to look how they work atm, but i think i can try and build converter in substance designer, so anyone can use via substance player, which is free. And with that i can expose controls whatever would be needed, e.g. how shiny it should be etc.

                                    1 Reply Last reply Reply Quote 0
                                    • JipJ Offline
                                      Jip
                                      last edited by

                                      We've been working on a list and a description of the changes. We're not finished with it yet, and we'll not meet today's deadline.

                                      For those that would like to give it a preview, you can find it here:

                                      • https://github.com/FAForever/fa/issues/4394

                                      For those that would like to start preparing, you can start with steps (2) and (4) of the Prerequisites. Note that for step 4 there is also a video, which is likely more friendly to use for those with no to little experience with Github.

                                      @sodisodisodi / @thorolavs / @slowBro / @CatchThat / @GD / @Bolmagasa / @fredriklars / @Microships / @ruskul / @MadMax

                                      We'll ping you again when it is ready for you to start picking up bits and pieces, this is just an update about us not making the initial deadline.

                                      A work of art is never finished, merely abandoned

                                      D S 2 Replies Last reply Reply Quote 0
                                      • D Offline
                                        DarkSky12 @Jip
                                        last edited by

                                        @jip On the github there is a comparison between the Summit's old and new normal maps. I think, to help with consistency, there should be a public detailed pipeline walkthrough (preferably on these forums) on how to create every single texture map based on the albedo for each faction. That way, even people who aren't volunteering can help out on the side if they wanted.

                                        1 Reply Last reply Reply Quote 0
                                        • JipJ Offline
                                          Jip
                                          last edited by

                                          Those walkthroughs is why we didn't make the deadline 👍 , we're on it!

                                          A work of art is never finished, merely abandoned

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            sodisodisodi @Jip
                                            last edited by

                                            @Jip ok, here is quick and dirty way to do this, but it should be also normalised somehow to something, needs testing. But I just drop it here so people might pick up from it. The whole thing could be automized, I think. https://imgur.com/esZHcAA

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