Jump to content
  • Advertisement
Sign in to follow this  
Bucic

RGB in Pixel Shader - modding

This topic is 2793 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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!