• Advertisement
Sign in to follow this  

RGB in Pixel Shader - modding

This topic is 2672 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.


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


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.


Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement