Salta al contenuto
0
  • Categorie
  • Recenti
  • Tag
  • Popolare
  • Mondo
  • Utenti
  • Gruppi
  • Categorie
  • Recenti
  • Tag
  • Popolare
  • Mondo
  • Utenti
  • Gruppi
Collassa

Forum Federato

Di Piero Bosio
  1. Home
  2. Categorie
  3. Senza categoria
  4. after endless futzing about and tweaking i think i have something that may just be workable for this faux bevel effect i want

after endless futzing about and tweaking i think i have something that may just be workable for this faux bevel effect i want

Pianificato Fissato Bloccato Spostato Senza categoria
38 Post 4 Autori 3 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Topic risposta
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • Eniko Foxundefined Eniko Fox

    took all day but i've optimized the vertex format for blocks *and* implemented auto-bevelled terrain. shown without textures to make the bevelling clearer

    Eniko Foxundefined Questo utente è esterno a questo forum
    Eniko Foxundefined Questo utente è esterno a questo forum
    Eniko Fox
    scritto su ultima modifica di
    #7

    here's a gif of the textured terrain toggling the faux bevel effect on and off to really show how it softens the terrain. i'm really pleased with this

    #GameDev #IndieDev #ProcGen

    Eniko Foxundefined 1 Risposta Ultima Risposta
    1
    • Eniko Foxundefined Eniko Fox

      here's a gif of the textured terrain toggling the faux bevel effect on and off to really show how it softens the terrain. i'm really pleased with this

      #GameDev #IndieDev #ProcGen

      Eniko Foxundefined Questo utente è esterno a questo forum
      Eniko Foxundefined Questo utente è esterno a questo forum
      Eniko Fox
      scritto su ultima modifica di
      #8

      doing a side by side with my style guide i think i'm getting there. i'll probably wanna do some fancier color grading on the lighting though, and i want outlines, but the soft rounded feel of the terrain is definitely there now even though its still all cubes

      Eniko Foxundefined 1 Risposta Ultima Risposta
      1
      • Eniko Foxundefined Eniko Fox

        doing a side by side with my style guide i think i'm getting there. i'll probably wanna do some fancier color grading on the lighting though, and i want outlines, but the soft rounded feel of the terrain is definitely there now even though its still all cubes

        Eniko Foxundefined Questo utente è esterno a questo forum
        Eniko Foxundefined Questo utente è esterno a questo forum
        Eniko Fox
        scritto su ultima modifica di
        #9

        i've brought back the grass, which is actually an obj model

        see i made an engine before and appropriated it for this project. it could load obj models (with normal maps) so at first the blocks in my world were actually loaded from obj models

        that's why i had to redo a buncha stuff to add the bevelling, since i had to generate the faces myself

        Eniko Foxundefined 1 Risposta Ultima Risposta
        • Eniko Foxundefined Eniko Fox

          i've brought back the grass, which is actually an obj model

          see i made an engine before and appropriated it for this project. it could load obj models (with normal maps) so at first the blocks in my world were actually loaded from obj models

          that's why i had to redo a buncha stuff to add the bevelling, since i had to generate the faces myself

          Eniko Foxundefined Questo utente è esterno a questo forum
          Eniko Foxundefined Questo utente è esterno a questo forum
          Eniko Fox
          scritto su ultima modifica di
          #10

          I should probably start linking up chunks before I do much else so I don't wind up having to deal with a ton of "this block's neighbor is in another chunk" situations later

          Eniko Foxundefined 1 Risposta Ultima Risposta
          • Eniko Foxundefined Eniko Fox

            I should probably start linking up chunks before I do much else so I don't wind up having to deal with a ton of "this block's neighbor is in another chunk" situations later

            Eniko Foxundefined Questo utente è esterno a questo forum
            Eniko Foxundefined Questo utente è esterno a questo forum
            Eniko Fox
            scritto su ultima modifica di
            #11

            had a silly idea for block outlines using the bevel system. i take the dot product of the vector from the camera to the world position with the normal to determine if the bevel normal is pointing away from the camera, then add an outline based on that. there's some outlines where they don't belong but i can get easily rid of those

            ... i don't hate it? 🤔

            j_bertolottiundefined Eniko Foxundefined 2 Risposte Ultima Risposta
            1
            • Eniko Foxundefined Eniko Fox

              had a silly idea for block outlines using the bevel system. i take the dot product of the vector from the camera to the world position with the normal to determine if the bevel normal is pointing away from the camera, then add an outline based on that. there's some outlines where they don't belong but i can get easily rid of those

              ... i don't hate it? 🤔

              j_bertolottiundefined Questo utente è esterno a questo forum
              j_bertolottiundefined Questo utente è esterno a questo forum
              j_bertolotti
              scritto su ultima modifica di
              #12

              @eniko Personal opinion/matter of taste: I would add a (thinnier) black line to all the visible edges

              1 Risposta Ultima Risposta
              1
              • Eniko Foxundefined Eniko Fox

                had a silly idea for block outlines using the bevel system. i take the dot product of the vector from the camera to the world position with the normal to determine if the bevel normal is pointing away from the camera, then add an outline based on that. there's some outlines where they don't belong but i can get easily rid of those

                ... i don't hate it? 🤔

                Eniko Foxundefined Questo utente è esterno a questo forum
                Eniko Foxundefined Questo utente è esterno a questo forum
                Eniko Fox
                scritto su ultima modifica di
                #13

                yeah i'm happy with these terrain outlines for now

                #GameDev #IndieDev #ProcGen

                Eniko Foxundefined 1 Risposta Ultima Risposta
                1
                • Eniko Foxundefined Eniko Fox

                  yeah i'm happy with these terrain outlines for now

                  #GameDev #IndieDev #ProcGen

                  Eniko Foxundefined Questo utente è esterno a questo forum
                  Eniko Foxundefined Questo utente è esterno a questo forum
                  Eniko Fox
                  scritto su ultima modifica di
                  #14

                  another few shots of the new outline tech

                  #GameDev #IndieDev #ProcGen

                  Eniko Foxundefined j_bertolottiundefined 2 Risposte Ultima Risposta
                  1
                  • Eniko Foxundefined Eniko Fox

                    another few shots of the new outline tech

                    #GameDev #IndieDev #ProcGen

                    Eniko Foxundefined Questo utente è esterno a questo forum
                    Eniko Foxundefined Questo utente è esterno a questo forum
                    Eniko Fox
                    scritto su ultima modifica di
                    #15

                    lol the outlining has more than doubled the code in my fragment shader

                    texturing, lighting, and bevelling: 12 lines of code

                    just doing outlines: 19 lines of code

                    Eniko Foxundefined 1 Risposta Ultima Risposta
                    1
                    • Eniko Foxundefined Eniko Fox

                      lol the outlining has more than doubled the code in my fragment shader

                      texturing, lighting, and bevelling: 12 lines of code

                      just doing outlines: 19 lines of code

                      Eniko Foxundefined Questo utente è esterno a questo forum
                      Eniko Foxundefined Questo utente è esterno a questo forum
                      Eniko Fox
                      scritto su ultima modifica di
                      #16

                      Not to pat myself on the back too hard but it's really nice how good this is turning out, like, aesthetically. It's not exactly trivial to make graphics look good when you only have a single 16x16 texture >_>

                      Eniko Foxundefined 1 Risposta Ultima Risposta
                      1
                      • Eniko Foxundefined Eniko Fox

                        Not to pat myself on the back too hard but it's really nice how good this is turning out, like, aesthetically. It's not exactly trivial to make graphics look good when you only have a single 16x16 texture >_>

                        Eniko Foxundefined Questo utente è esterno a questo forum
                        Eniko Foxundefined Questo utente è esterno a questo forum
                        Eniko Fox
                        scritto su ultima modifica di
                        #17

                        On the other hand I guess it would be fair to say these graphics are looking a little...... muddy

                        Eh? Eh? Eh? 😄

                        Eniko Foxundefined 1 Risposta Ultima Risposta
                        1
                        • Eniko Foxundefined Eniko Fox

                          On the other hand I guess it would be fair to say these graphics are looking a little...... muddy

                          Eh? Eh? Eh? 😄

                          Eniko Foxundefined Questo utente è esterno a questo forum
                          Eniko Foxundefined Questo utente è esterno a questo forum
                          Eniko Fox
                          scritto su ultima modifica di
                          #18

                          i'm commander shepherd and this is my favorite spot on the citadel

                          (seriously i cannot get enough of looking at this particular subsection of a screenshot i took of the outlines in my voxel engine)

                          Eniko Foxundefined 1 Risposta Ultima Risposta
                          1
                          • Eniko Foxundefined Eniko Fox

                            another few shots of the new outline tech

                            #GameDev #IndieDev #ProcGen

                            j_bertolottiundefined Questo utente è esterno a questo forum
                            j_bertolottiundefined Questo utente è esterno a questo forum
                            j_bertolotti
                            scritto su ultima modifica di
                            #19

                            @eniko Now I want a fighting game where your moves destroy the terrain around you, so if you are not careful you literally dig yourself into a hole 🙃

                            Oblomovundefined 1 Risposta Ultima Risposta
                            • Eniko Foxundefined Eniko Fox

                              i'm commander shepherd and this is my favorite spot on the citadel

                              (seriously i cannot get enough of looking at this particular subsection of a screenshot i took of the outlines in my voxel engine)

                              Eniko Foxundefined Questo utente è esterno a questo forum
                              Eniko Foxundefined Questo utente è esterno a questo forum
                              Eniko Fox
                              scritto su ultima modifica di
                              #20

                              captured a little fly through video for y'all. i can seriously just fly around this one chunk for 10-15 mins at a time enjoying the aesthetics 😄

                              #GameDev #IndieDev #ProcGen

                              Eniko Foxundefined 1 Risposta Ultima Risposta
                              1
                              • j_bertolottiundefined j_bertolotti

                                @eniko Now I want a fighting game where your moves destroy the terrain around you, so if you are not careful you literally dig yourself into a hole 🙃

                                Oblomovundefined Questo utente è esterno a questo forum
                                Oblomovundefined Questo utente è esterno a questo forum
                                Oblomov
                                scritto su ultima modifica di
                                #21

                                @j_bertolotti @eniko

                                Worms?

                                1 Risposta Ultima Risposta
                                • Eniko Foxundefined Eniko Fox

                                  captured a little fly through video for y'all. i can seriously just fly around this one chunk for 10-15 mins at a time enjoying the aesthetics 😄

                                  #GameDev #IndieDev #ProcGen

                                  Eniko Foxundefined Questo utente è esterno a questo forum
                                  Eniko Foxundefined Questo utente è esterno a questo forum
                                  Eniko Fox
                                  scritto su ultima modifica di
                                  #22

                                  debating what i wanna do with grass in my engine. atm i have a block shader, and a model shader. i feel like i could efficiently implement shell textured grass by making a shell texturing shader, but i also don't want to balloon the number of different shaders i need to render all my terrain 🤔

                                  i could just use the model shader, but it becomes a pain in the ass to implement shell textured terrain then

                                  i could try and combine it with the block shader but they both do really different things

                                  Eniko Foxundefined 1 Risposta Ultima Risposta
                                  1
                                  • Eniko Foxundefined Eniko Fox

                                    debating what i wanna do with grass in my engine. atm i have a block shader, and a model shader. i feel like i could efficiently implement shell textured grass by making a shell texturing shader, but i also don't want to balloon the number of different shaders i need to render all my terrain 🤔

                                    i could just use the model shader, but it becomes a pain in the ass to implement shell textured terrain then

                                    i could try and combine it with the block shader but they both do really different things

                                    Eniko Foxundefined Questo utente è esterno a questo forum
                                    Eniko Foxundefined Questo utente è esterno a questo forum
                                    Eniko Fox
                                    scritto su ultima modifica di
                                    #23

                                    hmm if i want to add bits to the shell texturing so it doesn't look bad viewed side-on i kinda have to go the model route

                                    though i figured out i can get away with only 6 variations to get all the edge transitions 🤔 that could be doable if a bit annoying

                                    Eniko Foxundefined 1 Risposta Ultima Risposta
                                    • Eniko Foxundefined Eniko Fox

                                      hmm if i want to add bits to the shell texturing so it doesn't look bad viewed side-on i kinda have to go the model route

                                      though i figured out i can get away with only 6 variations to get all the edge transitions 🤔 that could be doable if a bit annoying

                                      Eniko Foxundefined Questo utente è esterno a questo forum
                                      Eniko Foxundefined Questo utente è esterno a questo forum
                                      Eniko Fox
                                      scritto su ultima modifica di
                                      #24

                                      i'm overthinking the grass thing so i've made the textures required to make the shells for a 16-tile transition and i'll just generate the model for each of those 16 and implement them in the engine and move on so i don't wind up blocked by choice paralysis

                                      if i want i can always just change it later

                                      Eniko Foxundefined 1 Risposta Ultima Risposta
                                      • Eniko Foxundefined Eniko Fox

                                        i'm overthinking the grass thing so i've made the textures required to make the shells for a 16-tile transition and i'll just generate the model for each of those 16 and implement them in the engine and move on so i don't wind up blocked by choice paralysis

                                        if i want i can always just change it later

                                        Eniko Foxundefined Questo utente è esterno a questo forum
                                        Eniko Foxundefined Questo utente è esterno a questo forum
                                        Eniko Fox
                                        scritto su ultima modifica di
                                        #25

                                        hell yeah, grassy voxels

                                        #GameDev #IndieDev #PixelArt #ProcGen

                                        Eniko Foxundefined 1 Risposta Ultima Risposta
                                        1
                                        • Eniko Foxundefined Eniko Fox

                                          hell yeah, grassy voxels

                                          #GameDev #IndieDev #PixelArt #ProcGen

                                          Eniko Foxundefined Questo utente è esterno a questo forum
                                          Eniko Foxundefined Questo utente è esterno a questo forum
                                          Eniko Fox
                                          scritto su ultima modifica di
                                          #26

                                          here it is compared to my style guide image. how did i do, chat?

                                          i probably wanna pull the grass away from the edge a bit more because it obscures the outlines, but i'm pretty happy with this overall

                                          Eniko Foxundefined 1 Risposta Ultima Risposta
                                          Rispondi
                                          • Topic risposta
                                          Effettua l'accesso per rispondere
                                          • Da Vecchi a Nuovi
                                          • Da Nuovi a Vecchi
                                          • Più Voti


                                          • Accedi

                                          • Accedi o registrati per effettuare la ricerca.
                                          • Primo post
                                            Ultimo post