Dzsozi (h03) Posted December 26, 2014 Share Posted December 26, 2014 (edited) Hello everybody! I have a question for professionals. Is this possible to get a result like this with shaders? I mean the bokeh lights in the distance: Edited December 26, 2014 by Guest Link to comment
Dzsozi (h03) Posted December 26, 2014 Author Share Posted December 26, 2014 And is there any shader that has functions like this, or possibility to edit to get a result like this? Link to comment
Dealman Posted December 26, 2014 Share Posted December 26, 2014 You have the wonderful Dynamic Lights resource by Ren712, he's quite the sexy little shader god around here. The resource also has a Wiki Page. Whether it's what you're looking for or not, I don't know. Link to comment
Dzsozi (h03) Posted December 26, 2014 Author Share Posted December 26, 2014 Thanks, I'll try to edit this and make something like in the picture! I have one more question: How can I get the position of all the default light source of GTA SA? I mean lamps, buildings' windows, etc. or how can I attach this shader light elements to them? Link to comment
Dealman Posted December 26, 2014 Share Posted December 26, 2014 Personally I would get the offsets of the lamps you wanna edit. Then get all lamps by that model and simply use the offset. Link to comment
FuriouZ Posted December 26, 2014 Share Posted December 26, 2014 I wanted to do it also, but the answer was It's not possible.. viewtopic.php?f=91&t=74753 Good luck and I hope you'll show show to them, that it's possible Personally I would get the offsets of the lamps you wanna edit. Then get all lamps by that model and simply use the offset. Actually I had the same thing in my mind, but I couldn't find any way to get all lamp post cordinates and attach corona to every post, If you know what I mean. Link to comment
Dzsozi (h03) Posted December 26, 2014 Author Share Posted December 26, 2014 That's my problem too, don't know how to get the position of all lamp posts and attach the corona or the light element to the place where the original light source is. Link to comment
Dzsozi (h03) Posted December 27, 2014 Author Share Posted December 27, 2014 Maybe the solution could be this? for i=700,20000 do removeWorldModel(i,10,2494,-1696,17) end Just copied the wiki example, of course needs editing, but we could loop through all the given lamps and getting the lamps of the world would be done, after this we only have to count the position the head of the lamps. Link to comment
Dealman Posted December 27, 2014 Share Posted December 27, 2014 Mmm, I assumed there would be a way to get world models since you can remove them. I guess not. Only way I can think of then would be to do it manually. Unless there's a way to extract the XYZ co-ordinates of them via GTA files - which I doubt. Link to comment
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