Texture not appearing in First-Person
Asked Answered
P

4

0

So, i'm making a first person shooting mechanic and i'm following a tutorial on how to make a second camera for the weapon so it only displays on screen but not clip anything. Everything was going well, until, i'm met with a wall. The video explains that, after managing to display the weapon on screen, you need to tweak a little bit to make it properly work, this involves enabling the "Transparent BG" in SubViewport, and then, disabling DOF blur in world environment. But, i can't find this option in World environment, and i am finally met in a wall where the gun displays like so:

How can i make the weapon show it's textures properly? obviously it isn't meant to show in black, it has textures, i just can't find a way to put then back on. Maybe it's the world environment in it's own, maybe the fog, but those i already configurated so it fits my game and the feel of it as i intended, i can't simply disable the world environment because it's necessary. If anyone can help me with this, i would be very glad

Philipphilipa answered 23/1 at 2:41 Comment(0)
H
0

Philipphilipa Maybe that second camera needs a light source or at least some kind ambient lighting.

Harridan answered 23/1 at 13:52 Comment(0)
P
0

Harridan i will see about that, but how exactly could i do that? i'm gonna test it out now, and if i've found a way on how to do that i will come back

Philipphilipa answered 24/1 at 0:19 Comment(0)
P
0

Harridan So i kind of managed to add light source and ambient lighting to the second camera, and neither did work.

Philipphilipa answered 24/1 at 1:10 Comment(0)
P
0

Harridan Actually, you were right, it really was the light source on the second camera, it just needed to be positioned a little better so it lighted every part of the model

Philipphilipa answered 25/1 at 0:45 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.