Tekken Posted May 13, 2020 Posted May 13, 2020 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. Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
Moderators IIYAMA Posted May 13, 2020 Moderators Posted May 13, 2020 3 minutes ago, Tekken said: Thank you guys. I saw this one a while back: https://community.multitheftauto.com/index.php?p=resources&s=details&id=7665 Not sure if that does what you want. And you can also play around with: https://wiki.multitheftauto.com/wiki/CreateLight 1 Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Tekken Posted May 14, 2020 Author Posted May 14, 2020 19 hours ago, IIYAMA said: I saw this one a while back: https://community.multitheftauto.com/index.php?p=resources&s=details&id=7665 Not sure if that does what you want. Tried it out, it doesn't change anything. 20 hours ago, IIYAMA said: And you can also play around with: https://wiki.multitheftauto.com/wiki/CreateLight That may be exactly what I need. Thank you. 1 Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
Einheit-101 Posted May 14, 2020 Posted May 14, 2020 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. 1
Tekken Posted May 14, 2020 Author Posted May 14, 2020 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? Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
Gordon_G Posted May 14, 2020 Posted May 14, 2020 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 Gordon#6977
Einheit-101 Posted May 14, 2020 Posted May 14, 2020 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.
Tekken Posted May 15, 2020 Author Posted May 15, 2020 After some play out with createLight these are the results https://imgur.com/a/bOqpVFb And I am pretty satisfied. Once more thank you IIYAMA Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now