Jump to content

Recommended Posts

Posted

i changed the values to 10 10 10 and i got the grey sky

Intel Core i7-8700 3,20GHz - EVGA GeForce GTX 1080 Ti SC2 - 32Gb Ram - DCS on 500 GB SSD - Windows 10 - Thrusmaster Warthog - Thrustmaster TPR pedals - Track Ir 5 - Samsung Odyssey+

 

[sIGPIC][/sIGPIC]

 

http://www.virtualredarrows.com

Posted (edited)

Здравствуй Urze.

Я еще здесь.

... I'm waiting Black Shark ... and flying, to time in time, LO Su-25T free flight. :music_whistling:

When reached my purpose about skycolours I've deleted all my records and notes ... unfortunately.

And at present day I'm too busy to investigate still about it.

However You're right: I've worked about these parameters in sky_basic.dat, sky_new.dat, skyfog_b.dat, skyfog_v.dat.

good work ;)

 

mitch789 now joker62 in DCS forum. спасибо.

Edited by joker62
forgotten name
Posted

oh cool, good to see you back mitch. If you ever have the time to figure out what you did to the parameters in those 4 files, let me know. I would really like to get the sky darker.

 

btw, how is your F-5 project coming along?

[sIGPIC][/sIGPIC]

Posted

btw, how is your F-5 project coming along?

sorry, but I've nothing to do with F-5 project. Surely he's Mitch,

my own name is Antonio.

that's because I've changed my nickname.

Posted
Hi SuperKungFu,

I unfortunately have no solution to get your wished achievement but I can tell what Mitch did.

 

He chanced only a four-line block at the and of this four files:

>Lock On\Bazar\Effects\SKY:

- sky_basic.dat

- sky_new.dat

- skyfog_b.dat

- skyfog_v.dat

 

Scroll to the end of any of them and you will find this block:

 

 

For example:

Mitch changed them in "SkyColorMod 1.2 thunderstorm 03"

to this in all four files.

 

Nothing more and nothing less.

 

And I have no clue how to control these values and no time to try it out.

Maybe someone else can do it.

 

I need some help looking at this code again, because it looks looks like its more than just the 4 lines at the bottom of each file. There's about 12 versions of different sky color modes in the SkyColorMod1.2. There's Summer, winter, cloud front, rain (3 version), snow (2 version), and thunderstorm (3 versions)

 

For the ones that has more than one versions, the code stays the same but it looks different in game (therefore, some other values must have changed) All I want to achieve is a slightly darker sky like the screenshot in my previous post.

 

The stock values are (standard blue)

dp3 r0.x,r1,c10

dp3 r0.y,r1,c11

dp3 r0.z,r1,c12

min r0,r0,c9.z

mov r0.w,c9.x

 

summer - light blue

dp3 r0.x,r1,c11

dp3 r0.y,r1,c12

dp3 r0.z,r1,c13

min r0,r0,c9.z

mov r0.w,c9.x

 

 

Winter (still blue) - same as stock values? and Cloud Front?

 

dp3 r0.x,r1,c10

dp3 r0.y,r1,c11

dp3 r0.z,r1,c12

min r0,r0,c9.z

mov r0.w,c9.x

 

 

All the rain are these values (grey)

Rain Grey

dp3 r0.x,r1,c11

dp3 r0.y,r1,c11

dp3 r0.z,r1,c11

min r0,r0,c9.z

mov r0.w,c9.x

 

 

Snow (white) are these values

Snow (white)

dp3 r0.x,r1,c12

dp3 r0.y,r1,c12

dp3 r0.z,r1,c12

min r0,r0,c9.z

mov r0.w,c9.x

 

 

and Thunderstorms (dark grey)

dp3 r0.x,r1,c10

dp3 r0.y,r1,c10

dp3 r0.z,r1,c10

min r0,r0,c9.z

mov r0.w,c9.x

 

 

So as you can see, the values remain confined within c10-c12- RGB conversion, not sure how to make dark blue out of this. :helpsmilie:

  • Like 1

[sIGPIC][/sIGPIC]

Posted (edited)

For those who'd like to experiment:

try changing

dp3 r0.x,r1,c10

dp3 r0.y,r1,c11

dp3 r0.z,r1,c12

to

mov r0 c10

Then c11, c12 and c13 respectively. You'll get exact color coefficients to deal with.

 

what it is:

x component is red

y - green

z - blue

 

So, if you want the sky color to have 50% less blue component (for example), add the following:

mul r0.z,r0.z,c9.y

before the line

min r0,r0,c9.z

Not quite beautiful, but something to start with ;)

Edited by DarkWanderer
  • Like 2

You want the best? Here i am...

Posted (edited)

First one - blue color adjustment only. Not very beautiful, as i already said...

Second - all the three colors, bu string "mul r0.xyz,r0.xyz,c9.yyy"

Much better, isnt' it?..

And the last one - fog colors are adjusted too. Too much Falcon... ;)

Edited by DarkWanderer
  • Like 1

You want the best? Here i am...

Posted (edited)

Great Find DarkWanderer!:thumbup: -rep inbound

The ultimate thing would be if we could control these listed values with

the 'LockOn Gui Configurator'.

 

Similar to the SunLightColor adjustment with a little preview. So that we are able to set up the 'Atmospheric conditions' before we launch LockOn.

(Edit: ) or a tested Set of good looking adjustments -instead messing around with Modman and the editor.

 

guiconfigurator.jpg

Edited by urze
Posted

Ahh... Nothing like a little asm... :D

Thanks goes to SKF, he pointed me at the fact that LO uses plain shaders. And some of them look pretty redundant...

You want the best? Here i am...

Posted (edited)
Ahh... Nothing like a little asm... :D

Thanks goes to SKF, he pointed me at the fact that LO uses plain shaders. And some of them look pretty redundant...

 

Don't worry- he got his rep also:).

But it's nice to see that you could investigate your time in trying these things out - I did it some time ago and I know how time consuming (and frustrating) this could be.

 

Keep it up. This has so much potential to enhance the overall ambiance during a mission.

Edited by urze
Posted

soooo cool! I tried it and my sky looks a lot better and darker. You should host this one lockonfiles. But before you do, could you create some different gradients of blue. Right now, IMHO, its a bit too dark. Can we have one between the stock one and the new dark blue one?

Posted

For the purpose of not violating the copyright it will be a separate mod. DarkLight 1.0

Hosting is OK, file currently being approved on lockonfiles. Thanks everyone.

You want the best? Here i am...

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...