Which type of Viewmodels Look better?

I am experimenting with Viewmodels inside ViewportFrames and I wanted to get opinions on which looked better. Let me know any benefits and downsides to either one as I want to choose how I should display viewmodels before I continue my project.

(I might upload more images with a better background instead of just the skybox, I just don’t have a map or anything currently.)

Inside ViewportFrame:


Outside ViewportFrame:

2 Likes

Viewport frames have lighting limitations: ViewportFrame | Documentation - Roblox Creator Hub.

That said, regarding camera-based visuals, a viewport frame is better because it will not collide with walls or go through them like the actual Model would (canCollide). They will always be in front of the camera.


Clipping

Clipping is a common problem in game development, but I couldn’t find a specific one for Roblox Studio. I found many for Godot and Unreal, where they use shaders, a community plugin, or built-in systems (like layers) for fixing the whole clipping issue.

Viewport frames would basically be our equivalent to the video above, or shaders/layers (with our unique lighting tradeoffs).


Ignoring all that, though, purely down to personal visual aesthetic, I find the one in the viewport frame better lighting-wise. The one outside the viewport frame has harsh lighting, and the mesh looks a little off around the fingers.


I did also found this. it’s odd that he replies to himself with “thanks”, to himself, for help, but I guess it’s documented and might help: Roblox Viewmodel Collision Prevention :Lerp() position bug Help

I agree, the lighting complements the fingers. I would probably go with the inside viewportframe if I decide to keep the fingers.

This was a pretty strange read other than that it was useful, it might not fit the style i’m looking for since this is what alot of the more realistic shooters on roblox do and i’m going for more of the style of shooters by valve, but I was always interested in seeing how collision prevention was done like that. I also seen some post where they shrink the viewmodel and move it closer to the camera to prevent clipping.

1 Like