GTA 4 v0.163
Forum rules
new topics are not allowed in this subsection, only replies.
new topics are not allowed in this subsection, only replies.
- Author
- Message
-
Offline
- *blah-blah-blah maniac*
- Posts: 17559
- Joined: 27 Dec 2011, 08:53
- Location: Rather not to say
Re: GTA 4 v0.163
I wrote many times how to detect sun in shaders and won't repeat again. Much simpler solution is to get it's data from the mod by adding extra code to it, but anyone who trying to make complex effects, must use proper fullscreen glare effects computations.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
-
Offline
- *master*
- Posts: 113
- Joined: 13 Dec 2012, 11:18
Re: GTA 4 v0.163
if not too much trouble could I have a link? I'm looking all over the forum and can't find this infoENBSeries wrote:I wrote many times how to detect sun in shaders and won't repeat again. Much simpler solution is to get it's data from the mod by adding extra code to it, but anyone who trying to make complex effects, must use proper fullscreen glare effects computations.
-
Offline
- *sensei*
- Posts: 267
- Joined: 12 Oct 2012, 19:14
Re: GTA 4 v0.163
same here, Boris ) I remember u once gave me a method to calculate brightest pixel on the screen (взвешивание и поиск "центра масс")buzz wrote:f not too much trouble could I have a link?
however its rly dull, passing exact sun position for godrays is a WAAY better then this stuff (also my bloom texture resolution is half the screen, so the mistake in those calculations is doubled)
-
Offline
- *blah-blah-blah maniac*
- Posts: 17559
- Joined: 27 Dec 2011, 08:53
- Location: Rather not to say
Re: GTA 4 v0.163
Which version must be modified for this?
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
-
Offline
- *sensei*
- Posts: 267
- Joined: 12 Oct 2012, 19:14
-
Offline
- *master*
- Posts: 113
- Joined: 13 Dec 2012, 11:18
Re: GTA 4 v0.163
well, now I feel bad for say other version but 0.082 here... since iCEnhancer and most of the ENB settings still comes with 0.082 would not be a bad idea
-
Offline
- *blah-blah-blah maniac*
- Posts: 530
- Joined: 30 Jan 2012, 13:18
Re: GTA 4 v0.163
Hmm could you also provide a code piece which does detect the brightest pixel on screen which works for all versions, I believe everyone would like to have this feature and you won't update all various versions, would you?
-
Offline
- *blah-blah-blah maniac*
- Posts: 17559
- Joined: 27 Dec 2011, 08:53
- Location: Rather not to say
Re: GTA 4 v0.163
I can't write the code once again (did about 4-5 times and 2-3 times explained how to do this), ask users who did it already, may be they are on gtaforums.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
-
Offline
- *blah-blah-blah maniac*
- Posts: 530
- Joined: 30 Jan 2012, 13:18
Re: GTA 4 v0.163
The only person I know who managed it is icelaglace and he seems pretty inactive atm, I've sent him 2 PM's a while ago and he didn't reply or read it. I'll rape the search function of this forum now, maybe I find something....
EDIT: Kinda found something, an old thread I started with the same question, problem is that this shader does nothing, no matter what threshold is set, output coord is always top left corner, 0.
EDIT: Kinda found something, an old thread I started with the same question, problem is that this shader does nothing, no matter what threshold is set, output coord is always top left corner, 0.
-
Offline
- *blah-blah-blah maniac*
- Posts: 17559
- Joined: 27 Dec 2011, 08:53
- Location: Rather not to say
Re: GTA 4 v0.163
I have no idea which version of 0.082 is proper for editing, corrupted sources of 0.082_7 when users wrote that videocards overheating with it and almost all previous builds were deleted or modified when did changes in back way. Btw, where to put sun position on screen parameter, in which shader?
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7