Sign in to follow this  

RGB in Pixel Shader - modding

This topic is 2573 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! This is my first post in the forums. I admit I'm not into programming. The information I ask for is for modding purposes. I would appreciate if anyone could help me out.

I have 4 files that control the sky and fog looks. I'd like to be able to change their colors. Some modders have tried and the colors did change but no one is able to tell what is the actual logic behind the changes. It were all blind shots.

sky_basic.dat
sky_new.dat
skyfog_b.dat
skyfog_v.dat

to be downloaded here http://www.mediafire.com/?8nivq321zh9k341

Those 'blind shots' I mentioned were involving modifications to the following bits of the files:

mul r1.y,r1.x,c17.x ;r1.y=luminance
;-----------------------------------------

and

dp3 r0.x,r1,c10
dp3 r0.y,r1,c11
dp3 r0.z,r1,c12

Below is my 'investigation' on what these settings do but I haven't came up with anything yet.

http://i17.photobucket.com/albums/b68/Bucic/DCSforum/mod/sky_investigation_bucic.jpg

Share this post


Link to post
Share on other sites

This topic is 2573 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

Sign in to follow this