How does one achieve first person shadow?

I want to achieve the same shadow effect where the player head is visible and the shadow reacts to the sunlight and the dynamic lights. I’ve searched everywhere on the internet (including here) but to no avail.



2 Likes

dumppppp pls help im desperate

You can’t just loop through all the BaseParts in the character model and make them CastShadow true?

the property castshadow on the character model are already set to true by default, looping it wouldn’t change anything

Try setting the ShadowSoftness to 0.

may u elaborate why this might work? how does this replicate the player’s shadow?

local function CharacterTransparency(_)
	for _,v in ipairs(humanoid.Parent:GetChildren()) do
		if v:IsA("MeshPart") or v:IsA("Part") then
			v.LocalTransparencyModifier = 0
			if v.Name == "Head" or v.Name == "Torso" or v.Name == "UpperTorso" then
				v.LocalTransparencyModifier = 0.74
			end
		end
	end
end

RunService.RenderStepped:Connect(CharacterTransparency)

Try this code

i figured it out myself. messed around with motor6d’s in the camera

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.