Jump to content

Bokeh lights


Dzsozi (h03)

Recommended Posts

Posted (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:

gta-v-1.jpg

Edited by Guest
Posted

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?

Posted

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 :wink:

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.

Posted

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.

Posted

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.

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...