The dual FOV approach has me wondering something. In a lot of games, increasing the FOV beyond a certain point will make the player's view model look pretty weird. With your two-camera approach, could you ensure a consistent perspective of the view model while changing the FOV?
@blazedenenra2 роки тому
Actually yes. The hands dont so much break 'they stretch out. Have you seen max fov on FT2? There's console commands to go further if you want to try this for your self. Id demo but i dont have a PC/Laptops Tho to probably answer the question in a way i think would work is maybe past a certain fov you will need to reset the camera on the gun overlay to repeat the clean look beyond say 120-150 for to prevent the stretch
@wotwott23192 роки тому
You could actually keep the fov of the gun independent from the fov of the camera with this approach too. So if you extend the fov of the camera, the fov of the gun stays the same.
@luukderuijter13322 роки тому
Yeah, he mentioned this in an older video
@garbaj2 роки тому
you can't really. Best you can do is not use such a narrow fov so it warps less, but then that brings you back to the issue with the scope blocking your view. It's all tradeoffs. The gun looks much better to me when the fov stays consistent, plus there's the performance benefits of using just one camera, so that's also something to consider
@Sprite8972 роки тому
Many shooters use the dual fov approach and it works to change the fov without making the player model look weird, doom eternal is a good example, although some people use console commands to make the view model fov high too
@ScArry_2 роки тому
I like your game concept. Really looks like you narrowed down your scope.
@J_E_N_T2 роки тому
lol
@MFKitten2 роки тому
Nothing kills a project like overscoping.
@AkariInsko2 роки тому
REPORTED FOR MISINFORMATOIN 😡😡😡🤬🤬🤬🤬🤬🤬🤬🤬🖕🖕
@usrnewxnew52272 роки тому
Very punny
@garbaj2 роки тому
YOU DID NOT
@VojtechLacina2 роки тому
At my job as a weapon artist, when we use ironsights aiming, we move the weapon and change fov. But when using scopes and collimators, we create second scope model with deleted geometry far from scope glass (or few milimetters behind it). It makes the view more clear and better to aim.
@Vinci4802 роки тому
Yeah a few people mentioned it on the last video, suprised he didn't mention it as he also saw those comments because a lot of big triple A games use this exact method.
@ZaHandleРік тому
Yeah, seems like a very obvious solution just delete the obstruction
@ahmadgamal65Рік тому
That's so weird method why don't you just use stencil masks for scopes and collimators? If you don't know what is this it's a shader that gives you selective rendering behind an object for example behind this plane render the gun but don't render the scope and if the tip of the scope is long separate the front of the scope and render the front with the weapon it's much better and extremely performate
@DePistoleroРік тому
@@ahmadgamal65 The exact method I used and wanted to share... This whole thing confused me for a long time...
@randopixel9985Рік тому
@@DePistolero Hey I've been trying to figure this method out, can you point me in a direction? I tried, but what I ended up with was having to use translucent mats on my gun and sight, which caused the depth sort issues common with translucent mats. What am i missing? Appreciated.
@Calinou2 роки тому
Using a separate viewport indeed has a noticeable performance penalty (especially when MSAA is involved). Instead, I recommend relying on non-uniform scaling of the weapon model to simulate FOV changes. To ensure mesh normals are still correct after non-uniform scaling, enable Ensure Correct Normals on the SpatialMaterials used by the weapon models. (This is not required in Godot 4.0alpha anymore, as normals are now automatically scaled when needed.) To handle the wall clipping situation, I recommend just pushing the weapon model back when a hit with a wall is detected using a raycast. Even Quake 2 RTX does this :)
@garbaj2 роки тому
The plan from the start was to use a single camera and move the gun out of the way when needed, but I wanted to test this method out as well and see how I liked it. The performance issues are pretty noticeable though, so it might make it into the final game
@liteningstrike122 роки тому
One solution that occurred to me, and I’m not sure if Godot supports this, is to enable “backface culling” on the model of the gun. I’m practice, this means that textures are only drawn on the outside of the model and if you were to clip inside it and look from the inside out it would appear transparent. If only the outside of the scope was textured and the inside of the scope was not modeled, you would be able to see through it like you can see through a one way mirror. This may not work from other angles, but would be interesting to experiment woth
@groundedgaming2 роки тому
Seems good. Tiny problem is that holes in the barrel (think AR-15)/the mag won't show the other side. Otherwise, I think that that is pretty easy!
@jadenknott2 роки тому
Yeah i was also thinking about one way textures where the opposite end of the scope is only textured on the outside and not on the inside, kinda like wall textures when oob You explain it much better tho
@the_hhh2 роки тому
i love how every comment is a whole essay
@reinbeers53222 роки тому
@@groundedgaming Holes on the barrel? Not on the handguard?
@groundedgaming2 роки тому
@@reinbeers5322 oh, whoops, sorry! My bad, I meant the handguard/heat shield thingy thing I'm sure you all will get it😅
@Joebakon2 роки тому
I like the new art direction you're taking the graphics in. It gave me this feeling of being out of bounds in a hi fidelity game. You know when you think "I wanna know what that town in the distance looks like" but when you get there it has the appearance of being made of painted card board. It got me thinking, what if you leaned into that vibe? A game that feels like it takes place in one of those "you aren't supposed to be so close to these buildings" places. Of course I'm not sure it's not the vibe you had in mind but that would be a very unique art style, greatly separating it from the many other "look at my PS1 graphics" games. You already have such a powerful surrealism in the art and I for one think it's super cool. Shooting up some backdrop houses would be a blast. Also the reveal on how the scopes work felt like a Eureka moment I was waiting for this video. It's a really elegant graphical way to solve a graphical issue. Keep it up garbaj
@showalk2 роки тому
I hope, then, that you know about the channel Boundary Break.
@SeekerGoldstoneРік тому
I think that's an excellent idea! Halfway through the tutorial, you clip out of the game and end up in forgotten levels with abandoned characters and concepts. Like the island of lost toys meets the backrooms.
@blazedenenra2 роки тому
His uploads are incredible. Also we dont have to wait a month for a new vod.
@ILCMango2 роки тому
A fun fact about the flipped left handed model. All guns in counter strike 1.6 are flip the wrong way around. This is because the dev was left handed, modeled the guns for the left handed option, and then just flipped the model to be the default right handed.
@RagdollWraith2 роки тому
oh seriously? i thought that was just done to show off more "action" on the gun like the bolt moving and casings ejecting
@soulghost97182 роки тому
So that's why the AK had bullet casings ejecting from left instead of right And i thought the other games i played got AK wrong lol
@Greywander872 роки тому
@@soulghost9718 Well, there's a reason they usually eject to the right. A shell casing ejected to the left could hit your other arm, or, if ejected backwards at an angle, could hit your shoulder or even your face. Ejecting to the right is ejecting it away from you, so it can't hit you. I don't think it's so bad that you can't use a right-handed gun left-handed, you just have to be careful about how you hold it so the casings don't get too close to you. Different guns also eject the casings at different angles, so one gun might be easier to use left-handed than another.
@boogit99792 роки тому
This doesn't make any sense unless he was actually using a gun being held left handed as a reference
@reinbeers53222 роки тому
@@Greywander87 Most modern guns are fine to be used on the 'wrong' side, with some care. Those that aren't usually have a way to change that ie. AUG.
@uwu.what.9992 роки тому
Bit of a tip. Instead of moving the gun super forward, maybe try moving the viewmodel camera backwards. Moving the viewmodel itself forwards could mess up lighting on the gun. (i.e. aiming into a wall and the gun becoming super dark because it's in a wall, and things like that).
@xxedgelord420xx42 роки тому
Also a camera is invisible so the view/world model can be the same for other players.
@Bunny99sРік тому
Exactly. This is essentially called a "dolly zoom".
@zdspider6778Рік тому
You generally don't zoom in while right next to a wall... At that point the gun could be made to tilt up or something. But you _might_ zoom in while your back is against a wall or a fence. And you'll end up seeing the fence from the other side, blocking your view. Or if someone is right behind you (a teammate), you'll end up seeing inside his character when you zoom in. I think as long as the camera doesn't extend too far back (past the capsule collider) it should be fine.
@xkingshope699Рік тому
I start classes for game and simulation programming this fall and your videos are amazing! I cant wait to get started!
@N0stalgicLeaf2 роки тому
Oh, just 32 seconds in and I think the solution just occurred to me. The objective end of the tube must have a larger diameter than the ocular end! I mean, that's how all of my real optics are built and game engines are purpose built to emulate the real world as much as possible. Let's see if I'm right.
@N0stalgicLeaf2 роки тому
Nope I did not see the FOV thing coming. That's pretty slick.
@ragnarok7976Рік тому
I don't think you are wrong either. Fake light beams in a perspective game still converge so designing optics like they do in the real world would probably give you more realistic results. That said, it would not be as clear as the fov method because real world scopes do block the edges of your vision too.
@bannah6400Рік тому
Pick up your cross and follow Jesus! The world is quickly headed for destruction, and sooner or later you will have to sit at the judgement seat and give an account for your actions. Belief in messiah alone is not enough to grant you salvation - Matthew 7:21-23, John 3:3, John 3:36 (ESV is the best translation for John 3:36). Call on the name of Jesus and pray for Him to intervene in your life! - Revelation 3:20. Contemplate how the Roman Empire fulfilled the role of the beast from the sea in Revelation 13. Revelation 17 confirms that it is in fact Rome. From this we can conclude that A) Jesus is the Son of God and can predict the future or make it happen, B) The world leaders/nations/governments etc have been conspiring together for the last 3000+ years going back to Babylon and before, C) History as we know it is fake. You don't really need to speculate once you start a relationship with God tho. Can't get a response from God? Fasting can help increase your perception and prayer can help initiate events. God will ignore you if your prayer does not align with His purpose (James 4:3) or if you are approaching Him when "unclean" (Isaiah 1:15, Isaiah 59:2, Micah 3:4). Stop eating food sacrificed to idols (McDonald's, Wendy's etc) stop glorifying yourself on social media or making other images of yourself (Second Commandment), stop gossiping about other people, stop watching obscene content etc and you should get a response. Have a blessed day!
@ragnarok7976Рік тому
@@bannah6400 Sir, this is a Wendy's
@Vince_Cuh2 роки тому
I've been keeping up with your game stuff and I'm actually pretty excited for it to be released.
@shawermus2 роки тому
I have the best solution to all programming problems: stack overflow
@MajorJakas2 роки тому
What's that?
@cybergamingteam2 роки тому
there is this one time where you copy paste stuff to your code and it just works
@JosePerez-wl2it2 роки тому
Love the vids! So cool to go along with you as you learn as a dev🙌🏼
@sgm76502 роки тому
Man, I have been in this adventure of watching u building ur game, figuring out problems and solutions and turning the table agsinst the odds...it's been fun :). And I can just say that I can't wait to play ur game and that I hope I am still alive until then xD. Keep it up 👌
@ShinyPantsJunior2 роки тому
the game progress is really good i cant wait for the final product to come out. take all the time you need it is fun to watch the game develop.
@bumbleflex59452 роки тому
I'm glad you did this response video to a response video lol. It took me seeing both demonstrations to fully understand what's going on with the field of view.
@TheKenji22212 роки тому
2:00 flipping the layer wouldn't be enough. You would need to also flip the gun itself, or else you will have the ejection port on the "wrong" side. Fun fact, that's the reason why guns in CS have the port on the wrong side. At first the weapons were left handed. But they flipped the view because it looked weird. But they didn't flip the gun, so we had mirror guns
@nimmen2 роки тому
Thats such a simple and easy solution I would never have thought of. Your videos are really eye opening and refreshing.
@2nafish1172 роки тому
Flipping the layer doesn't exactly create left handed versions of the animations, because the gun is also mirrored. Think about the position of the bolt, bullet ejection, and other parts of the gun that are asymmetric. Also you can achieve separate viewmodel fov with a custom shader that modifies the projection matrix. I have a video showing this shader with src. Vid here ukposts.info/have/v-deo/hnZeiWuBcGia158.html
@doomdave4752 роки тому
Technically speaking, left handed guns are manufactured (which is relatively easy nowadays thanks to only needing to give a mirrored file to the CNC machines and not retool the entire machine line) they are just rare and usually only made for individual purchases. For a more arcady game like this, it wouldn't be a dealbreaker to just mirror the layer imho.
@ince55ant2 роки тому
p90 says hello
@prospersucceedmakemoney2 роки тому
@@doomdave475 csgo does it like this, it just flips the vm and i think it looks fine imo
@arekkrol97582 роки тому
some guns are ambidexterious in their controls, and some even have ability to switch on which side brass is ejected, so its realy plausible for example to make scifi shooter feature fictional weapons with such design
@hi-i-am-atan2 роки тому
why would you go out of your way to make sure lefties got guns that eject casings at _them_
@ZEDifxРік тому
I love your videos, so much knowledge I got from you
@Emunny360Рік тому
I think the scopes in major fps games turn into a cone type shape to keep the closer and farther parts of the scope the same size
@druidofpies2 роки тому
This makes total sense! In the last video, you mentioned that due to perspective, the edges of the sight get in the way. Now, with a drastically reduced FOV, the effects of perspective aren't as present, eliminating the problem. Very cool!
@Rakinshu1203Рік тому
i also love the solution i saw in garrys mod for sniper rifles, your gun is just yeeted out of your FOV when you scope in and you just get a crosshair image slapped over your camera
@bannah6400Рік тому
Pick up your cross and follow Jesus! The world is quickly headed for destruction, and sooner or later you will have to sit at the judgement seat and give an account for your actions. Belief in messiah alone is not enough to grant you salvation - Matthew 7:21-23, John 3:3, John 3:36 (ESV is the best translation for John 3:36). Call on the name of Jesus and pray for Him to intervene in your life! - Revelation 3:20. Contemplate how the Roman Empire fulfilled the role of the beast from the sea in Revelation 13. Revelation 17 confirms that it is in fact Rome. From this we can conclude that A) Jesus is the Son of God and can predict the future or make it happen, B) The world leaders/nations/governments etc have been conspiring together for the last 3000+ years going back to Babylon and before, C) History as we know it is fake. You don't really need to speculate once you start a relationship with God tho. Can't get a response from God? Fasting can help increase your perception and prayer can help initiate events. God will ignore you if your prayer does not align with His purpose (James 4:3) or if you are approaching Him when "unclean" (Isaiah 1:15, Isaiah 59:2, Micah 3:4). Stop eating food sacrificed to idols (McDonald's, Wendy's etc) stop glorifying yourself on social media or making other images of yourself (Second Commandment), stop gossiping about other people, stop watching obscene content etc and you should get a response. Have a blessed day!
@clockman53262 роки тому
Glad you got it working. Looks great!
@j.griffioen14152 роки тому
the new look looks awesome! definitely a huge improvement!
@fleurbird2 роки тому
Thanks, this was very informative
@aplcc323Рік тому
Great to see a small project thrive! God bless us all!
@antonydbs172 роки тому
I'm glad i came across your channel.
@balkangames23022 роки тому
Man your videos are the best
@VirtualCarClub2 роки тому
Best way to direct traffic to someone else's channel is end screens and info cards if you want to help Purple Cat out.
@NeonfxGraphics2 роки тому
I have no idea how this landed in my recommendations, but it surely was interesting.
@Glue_Eater062 роки тому
Game's looking good, can't wait for it
@nunocabreracancelo2 роки тому
Thanks for adding left handed view! I am so upset when a game alows to flip the view between sides but keeps the gun on the same places like battlefront 2 or several 3° person shooters, but also I feel bad for left handded people that play fps, they're probably used to it but it probably was wierd at first for them
@jarlfenrirРік тому
Lol, my exact first thought when watching the previous video. Was sure you checked that possibility first though.
@wizardofcroz2 роки тому
I think we're going to see a renaissance in indie video games thanks to people like you. I think everyone is fed up with being let down by the big AAA studios and that's lead to many people wanting to create their own. Really appreciate the work you do explaining your thought process and asking for help when you don't know whats going on. Information like this should be accessible to all, not some industry secret that is coveted by the big players.
@Hato1992Рік тому
3 minutes and I learn more than in half hour tutorial. That's a premioum content.
@NukeZoned2 роки тому
I can't wait for your game to come out
@zetachaox2 роки тому
Aw, was looking forward to the clean cell shaded look, but whatever makes you happy :)
@ultraenzo2 роки тому
Very nice progress! Glad you were able to solve the iron sights problem! For the visuals why don't you add the cell-shades black outline to your new models? I think the new models look pretty good, I would say they just need something to make it pop whether it's more saturation or more contrast I'm really not sure. This is great so far, love seeing your progress!
@ababa96682 роки тому
This guy is just SO good at explaining!
@furjaden85532 роки тому
StyLiS Studios needs to get working on this RIGHT now.
@timhorton8085Рік тому
"its just a matter of flipping the model around" Ah yes, the ol' backwards gun.
@mazsolagamestudio07112 роки тому
I just want to ask, and tell you something: So when you trí to export your godot game to .exe the Inputs from the InputMap are not exported, only that starts with ui_. Do you have any idea how to solve that issue?
@NorwinLabs2 роки тому
So does that mean it's the best way to render a gun? Good video! I'm starting my game development and find your videos helpful for implementation tactics
@chintex_2 роки тому
That is such a clever solution.
@MeepsPeeps2 роки тому
bro wtf thats genius
@Lugubrious0Рік тому
Makes sense! Great explanation
@DerFinder2 роки тому
Nice, that's what I actually how I thought it might work but I wasn't really sure
@luukderuijter13322 роки тому
Yeahhhh this is 1000× smarter than what i had in mind
@champagnesupernova18392 роки тому
oh, that's a really clever solution! I didn't think of that!
@guphord2 роки тому
i liked the old cell shaded look for the game (because of its uniqueness) but i can see where youre headed with new texture for the guns
@Kytrecs2 роки тому
your game looks like it’s gonna be so much fun
@unvergebeneid2 роки тому
Oh, so it's a dolly zoom on just the gun.
@Skikopl2 роки тому
The mystery is solved
@AscKn2 роки тому
Cool, Can you talk about equiping/changing weapon in your game project?
@mrlucidss2 роки тому
I love seeing Devlog on your game! Have you thought about adding movement mechanics like apex/Titanfall like wall running and sliding? or are you taking a more realistic approach?
@brineeggliang54602 роки тому
That's actually pretty smart, thought it would require more work that involves changing the model of the specific weapon sight when aiming. I wonder how many games actually used this method?
@theslenderfox2 роки тому
When I was messing with first person viewmodels the way I solved the gun clipping into geometry was to just make the gun smaller and closer to the camera such that it stays within the player collider, I don't know the extent to the pros and cons of this method but it did require that the near clip plane be quite small.
@brown9671Рік тому
I’ve noticed in a lot of fps games for guns with more extreme scoped in fov like snipers, they actually change the whole screen to where the whole screen is inside the scope. Think of like widowmakers scoped in, or valorants snipers scoped in
@pimpalas2 роки тому
A bullet counting system for reloading (for example a shotgun knowing how many shots to load in instead of a full reload) explanation would be interesting, always wondered if its really simple or a bit more complex
@GingerNingerGamesРік тому
Insurgency's PIP scopes will always be my favourite, full field of view outside the scope, and zoomed inside. Best of both worlds, and source engine handled it like a champ.
@leopichler2 роки тому
I literally cannot wait to buy your game
@ntrovertted2 роки тому
Cel shaded outline + current textures = 🔥
@nikodemkazmierczak33182 роки тому
That's exactly what I thought of when I saw your previous video but was to lazy to test it or even write a comment. Great job! Great minds think alike :D
@imbetterthanu4121Рік тому
Bro thats a bean holding a gun lol
@DodgeThatAttack2 роки тому
oh thats really interesting, wouldnt have even considered this issue
@sebbywebbydooda50732 роки тому
regarding your graphics for your games, have you thought about low poly models but with comic book textures, I'm thinking of something similar to Batman Ninja (I know it aint low poly but I do love that art style)
@mcsquared5005Рік тому
Thank you for bringing up the left handed option! Is there any game with a lefty option view model? The closest I can think of are Doom (centered) and then halo 2-3 with dial wielding but that's the closest I've seen
@cuzx12 роки тому
Thank you for your vids, give an other perspective to how I see the games. May I ask, why don't you make the game in UE5? seems to be all what everyone is talking about now. ty.
@NoobalexxX2 роки тому
Well, in fact it can be much easier scope rendering can be split in different steps 1. weapon model rendering 2. lens mask rendering at the place of the optics 3. depth cut by the mask 3. other stuff renders the mask itself is also helps to apply post effects and render weapon sight with "moving" effect
@Killicon93Рік тому
One way to make the scope less obscuring while ADS when having everything on the same render is just flattening the scope when ADS. AFAIK Insurgency Sandstorm does this with the "Red Dot" sight (or a CompM4 to be exact), but doesn't remember to do it when using a magnifier.
@iDeker2 роки тому
This was my suspicion from last video. The fov must change. Thought it sounded dumb but was right
@MFKitten2 роки тому
This one way to do it, but others are doing it in different ways too. I like how clean this method is.
@lowellcamp32672 роки тому
Another funny touch is that you can technically do the dual FOV effect without rendering the player’s hands in a separate pass: Just pass them a different projection matrix in the vertex shader and you’re done. I believe there was also a way to solve the clipping problem without introducing an additional render pass but it probably has other issues (maybe compatibility?)
@Ryanin2D2 роки тому
Hey, can you go over aim smoothing from Apex Legends, like how the recoil becomes obsolete on horizontal ads? I'd like to know the thought that went into that.
@ddash9411Рік тому
My favorite part is when he says “hey everyone garbaj here”
@L3MIONРік тому
Im working on my third person dayz style game too and ive figured out just the controller part right now XD
@zebrisky2 роки тому
mans created a channel just to answer your question, what a chad
@rainerzufall53162 роки тому
on the approach of flipping the 2nd layer for left handed gunplay - this will have a notacible effect when your gun models arent symertrical, as seen in the first counter strike, where left handed shooting will be have an incorrect "flipped" gunmodel
@brnddi2 роки тому
Fun fact: when the view model FOV approaches zero and the distance of the gun from the camera approaches infinity, you get orthographic rendering.
@hello-12382 роки тому
take your time on the game
@dumbass35Рік тому
Hey garbaj, just a random thought while watching your last two videos. Would it be possible to only use/enable the picture in picture camera whilst aiming down sights, maybe improving the performance issues and having picture in picture.
@Seb-StormРік тому
You should also blur and add transparency to the weapons as we humans "see" when we are not focused on the gun but in the target. Levelcap mentioned something about it ones
@MakotoIchinose2 роки тому
For Unreal Engine devs, since dual camera setup is not desirable due to screen capture + render target performance implications, an alternative way of doing this is to use World Position Offset tricks. Fake dual FOV on the FP viewmodel skeletal mesh can be achieved with Panini projection trick in WPO, effectively displacing the vertices to compensate the main camera FOV. Then you can use additive animations (or moving the mesh with WPO again if you're lazy) to get into ADS position.
@generrosity2 роки тому
I joke that any combination of words that get an idea from your head into another "is English", but sometimes you just need to see/do it to really grok it. Plus there is an art to explaining - ie the comments might have been correct, but might not have been reordered to let your brain follow the lines. Love watching you learn and progress w the game 💚
@Joel-pl6lh2 роки тому
I knew it! Take any cylindrincal object in your house, if you put it far from you, you won't see the inside of it
@PonyRapperMagroРік тому
i was thinking about making a reply video to explain this but i guess i was a month late lmao, looks good tho, glad youve got it figured out
@Fallen_Ninja2 роки тому
Called it!
@Empyrean552 роки тому
Love the art style reminds me of time splitters 2!
@JohnPaulBuce2 роки тому
no scopers: ok
@mr_oger2 роки тому
That's pretty cool. Although i'm a huge fan of PiP scopes, i just love how natural that looks.
@eclipsewreckerРік тому
Remember, magnification means “bigger” sway around target and then less accurate eye-hand-gun point-coordination
@Gr00t2 роки тому
Genius
@alvemaster3877Рік тому
I like how Rainbow six siege does this. It forces you to choose your scope by how much it blocks your vision.
@pokeproxypodcast2 роки тому
Looks like Starlight Shimmer's town! Picasso
@cIappo8962 роки тому
Legit, try an inner cone. If needed, I can make a small sketch on how it would work, but in the most basic way, from the camera to the front of the scope, instead of making the back to front part a straight cylinder, make it conical, so the "meat" of the scope doesn't get as much in the way. This is the best performance wise, but can look a bit funky.
@RagingGamingBear2 роки тому
Im curios, will you implement any sort of SBMM in your game? I know its a big topic and controversial. I personally dont agree with it in the most part but would love to try a game with just random matchmaking and see how people react or notice any change?