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

Your signature image is too large.

Removed

Posted

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.

If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.

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?

Your signature image is too large.

Removed

Posted

Personally I would get the offsets of the lamps you wanna edit. Then get all lamps by that model and simply use the offset.

If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.

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

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.

Your signature image is too large.

Removed

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.

Your signature image is too large.

Removed

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.

If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.

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