An Unusual Way to Fix This Common Problem in FPS Games

An Unusual Way to Fix This Common Problem in FPS Games

OBrooks

2 года назад

108,800 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@TanarysHell
@TanarysHell - 24.09.2024 16:51

nice, but how can I 'reproject' the shader??? You could explained that part too!

Ответить
@MonstrumReborn
@MonstrumReborn - 12.07.2024 02:34

PLEASE do a tutorial on that last part I cant do any other thing

Ответить
@MonstrumReborn
@MonstrumReborn - 12.07.2024 02:21

For some reason I cannot use the overlay as the render type. Its like greyed out??

Ответить
@jaypatel0088
@jaypatel0088 - 11.05.2024 17:57

In unity you can actually render 2d games layer by layer so higher priority layer remain top of the other other layes.. So you can do this in to 3d games too.. View mode will get correct lighting information. Just set the view model as UI layer. And lower the sorting than the UI.

Ответить
@forasago
@forasago - 15.04.2024 20:38

Downside: To render a small weapon close to the camera you're near clip plane has to be even lower than it would normally have to be. And the ratio of far clip / near clip is critical for floating point accuracy of the depth buffer. You're effectively limiting your draw distance when you choose this technique, or you're inviting nasty artifacts like z-fighting in shadows. If you're making Silent Hill First Person Edition it's great, if you're trying to make a Battlefield type game you'll run into issues and end up having to use multiple cameras any way.

Ответить
@watercat1248
@watercat1248 - 15.04.2024 13:31

In my game I use the one with sepert layers and have listing and shadow as well.

My game is multiplayer game and have the option to play up to 4 player on the same computer so if want to make right I have to use different layers

The way I mange to make the layers are the following I have one layer for showdows and light's one I layer for the weapon I layer for how the enemy Player see you ECT

The on the camera able to see the weapon and showdown and light

So in that way wean the Player is inside I building for example the have shadow for the weapon same wean are on light

This system works perfectly for my case.

Ответить
@mesyrion
@mesyrion - 12.04.2024 19:57

Unusual way? This it pretty common and used by A LOT of games since decades.

Ответить
@anon-qt3mo
@anon-qt3mo - 10.04.2024 06:13

>Not many games

sure

Ответить
@R0DBS
@R0DBS - 08.04.2024 23:24

The placement of the weapon inside the player-hitbox is my way out of this issue. very easy, no need for big gun either.

Thanks

Ответить
@marksteinburg4726
@marksteinburg4726 - 21.02.2024 08:29

how do you get the final position of the gun after projecting it? All the transforms will be mismatched? When you cast a ray from the gun it is mismatched because of the projection.

Ответить
@naughtywizard
@naughtywizard - 10.02.2024 03:33

Animations are probably the best route. I’m always thrown off by ultra realistic skyrim mods, that look great, but everything attached to the character clips through each other. No one seems to be bothered by it though

Ответить
@marcos.rodrigues
@marcos.rodrigues - 19.01.2024 16:50

Brilliant idea, this solved a lot of issues for me!

Ответить
@sanketvaria9734
@sanketvaria9734 - 14.01.2024 21:17

I wonder, then how some games have accurate reflections of the gun, the character holding it and interactions while gun not clipping in!?

Ответить
@wimeradus
@wimeradus - 12.01.2024 20:30

Not unusual at all

Ответить
@mikeg.5140
@mikeg.5140 - 18.11.2023 20:58

The simplest solutions are usually the best ones. Thanks.

Ответить
@KadaXuanwu
@KadaXuanwu - 12.11.2023 18:01

hey, I love the idea, but how do you make the hand animations look real for the weapon? I mean the weapon is actually much smaller than the hands are.

Ответить
@nickvlahos4547
@nickvlahos4547 - 01.11.2023 04:45

This method is great for like 90% of every FPS ever

Ответить
@s3nju279
@s3nju279 - 09.10.2023 20:50

some engines, godot being one, you have different lighting layers. so its still recieves from all the lights if you tack off for them all the affect the layer the gun is on. and i dont remember how but having a seperate gun cam in unity never messed with my lighting either.

Ответить
@da_cat
@da_cat - 22.09.2023 09:06

Glad to see everybody has this problem and nobody has a "right way" to do it

Ответить
@ChristopherYabsley
@ChristopherYabsley - 08.09.2023 06:52

The easiest method is now using URP render objects.

Renders last, recieves world lighting, custom FOV supported out of the box.

Ответить
@nostalgiagaming560
@nostalgiagaming560 - 30.06.2023 03:35

Fair enough. Decent method...although personally I've found giving the gun itself a hitbox...works fine.

Ответить
@indosanimations1261
@indosanimations1261 - 20.06.2023 09:32

i tried doing that in roblox
but then everything broke

Ответить
@Iron_Soil
@Iron_Soil - 19.06.2023 03:22

Garbaj is a fckn vtuber i whoud never sub this dude

Ответить
@brutalgamer1507
@brutalgamer1507 - 04.04.2023 17:01

How to implement this

Ответить
@damsen978
@damsen978 - 28.03.2023 01:56

You're too quiet. Can you add subtitles to this video? I've been repeating the same sentence over and over and i could't understand anything.

Ответить
@vegitoblue2187
@vegitoblue2187 - 15.03.2023 19:05

you could just flatten the mesh in camera space to avoid the double camera overheadh by using a vertex displacement shader. Rainbow 6 does it.

Ответить
@squindigglyjigglybop1300
@squindigglyjigglybop1300 - 13.03.2023 21:01

A game called Team Fortress 2 renders the viewmodel in the world, but makes it invisible to other players and render over everything. This allows it to have real-time shadows (atleast as much as the source engine allows for) and negates the problem of it clipping through world geometry

Ответить
@Neehize
@Neehize - 18.02.2023 17:00

I just render it last without depth test, nothing can be drawn on top of it anyway.

Ответить
@intellectualpencil7627
@intellectualpencil7627 - 06.02.2023 16:31

Bean

Ответить
@dee_sgusting
@dee_sgusting - 23.01.2023 03:35

while working with hdrp i used the "scaling it down till its inside the collider" method alot since it doesnt support camera stacking

nice seing someone else using the same weird trick lmao

Ответить
@surgeBD
@surgeBD - 03.01.2023 05:21

I actually tried using this in one of my cod zombie "clone" projects and it worked fairly well at the start of development. The only drawback for me was animating at a smaller scale and having the character interact with in-game elements during animations.

Ответить
@TheInfamousLegend27
@TheInfamousLegend27 - 19.12.2022 23:09

ayyyyy, we love garbaj. that aside this is a really ingenious method! i've never seen this approach to an FPS viewmodel before

Ответить
@andreteapot5758
@andreteapot5758 - 18.12.2022 12:22

if ur still having a hard time coming up with a name for the game, maybe try figuring out the story or plot behind it first? it doesn't have to be anything fleshed out obviously, but i think that would help. y'know, like context for why the zombies are there or something, nothing fancy

Ответить
@mrbruh2460
@mrbruh2460 - 15.12.2022 17:07

Yooo this method is actually improving the performance of my game! nice

Ответить
@petere3067
@petere3067 - 08.12.2022 15:16

😎 p̾r̾o̾m̾o̾s̾m̾

Ответить
@Jabkojko
@Jabkojko - 29.11.2022 19:42





























ᅠᅠ



























Ответить
@mking05
@mking05 - 28.11.2022 01:29

Me: drops phone while watching this
The video: makes Minecraft OG oof sound in the perfect timing

Ответить
@filipealarza9079
@filipealarza9079 - 26.11.2022 03:25

Why are the German soldiers pickles?

Funniest shit I've ever seen.

Ответить
@GoOoOdXd
@GoOoOdXd - 25.11.2022 17:30

It's good that there are such talented developers! By the way, your game is similar to the game in Verdun!

Ответить
@v8matey
@v8matey - 25.11.2022 04:40

Or you can just have it collide with the world geometry in real time using true first person view. It's not that hard to set up considering physics in games is common place now.
I set up my fps gun to knock over geometry on a table if i get close enough. Looks great when your using a sword an can knock stuff over.

Ответить
@otakoob
@otakoob - 24.11.2022 12:19

I would love to play your game. Can't wait to shoot Pickled Rick in a trench

Ответить
@bakyvukyboky7534
@bakyvukyboky7534 - 24.11.2022 02:10

Hey man, how can I get to contact you

Ответить
@FuGyzShorts
@FuGyzShorts - 24.11.2022 01:22

I not only saw that video from Garbaj but also saw this one ;) nice video!

Ответить
@roccopignataro8665
@roccopignataro8665 - 23.11.2022 17:21

I love this game! It looks so cool. I really hope it works out for you. Also here are some suggestions for the game

A campaign would be really cool in this game
The blue aiming square could be upgraded and
You should apply a sprinting mechanic
Thanks for hearing these suggestions and good luck 😊

Ответить
@FunkyWhiteCat69
@FunkyWhiteCat69 - 23.11.2022 04:31

The yoda meme made me subscribe

Ответить
@pedrophillipe
@pedrophillipe - 23.11.2022 01:46

not is easy .... but, not is good ... wtf pickles zombie ? .... meee minecraft is best lol

Ответить
@zainudien
@zainudien - 22.11.2022 23:30

I love your videos please don't stop producing. I really wanna see how this games turns out

Ответить
@NekuZX
@NekuZX - 22.11.2022 20:18

please add more specific titles next time. Im really tired of vague titles that provide so little information that I dont even know what the video is going to be about before literally watching it.

Ответить
@robertwyatt3912
@robertwyatt3912 - 22.11.2022 16:52

Just make it a physics object.

Ответить