Jump to content

Better light for peds


Tekken

Recommended Posts

So can someone help me with a shader for a little bit more light for peds as some time they're basically black like shadows, so I will really appreciate if someone can show me how to make a shader as I don't understand how those work at all.

Thank you guys.

Link to comment

Ped lighting depends on the surface that they are standing on. If a ped is standing on a low-light ground, he will also be near-black.
The same happens when you create a Ped in Air and there is no ground below him, GTA doesnt know the vertex lighting so the Ped appears dark when spawning.

  • Like 1
Link to comment
2 hours ago, Einheit-101 said:

Ped lighting depends on the surface that they are standing on. If a ped is standing on a low-light ground, he will also be near-black.
The same happens when you create a Ped in Air and there is no ground below him, GTA doesnt know the vertex lighting so the Ped appears dark when spawning.

Ok, so you have a suggestion?

Link to comment

I may have a solution. When you attach your ped to an element (like an object) and then destroy that element it turns the light back on the peds (so the bug is solved)

However I don't know if it always work, I just noticed that while I was scripting

Link to comment

That solution has to be checked. It would be amazing. Maybe someone can try and report this.

The only other solution: Use Sam@kes Godray sun shader... Extract the ped shader from the resource and use only that one. It fakes sun lighting.
https://community.multitheftauto.com/index.php?p=resources&s=details&id=10219

But extracting that shader and making it work stand-alone is not very simple.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...