NeotokyoRebuild / neoAssets

Contains binary assets made for NT;RE.
0 stars 1 forks source link

Placeholder grayscale refract cloak material #9

Open AdamTadeusz opened 5 hours ago

AdamTadeusz commented 5 hours ago

The original cloak vmt first writes to the red channel of the cloak tint, then modifies the temp value slightly before writing to the green and blue channels, giving the cloak a cyan tint. This tint is visible in the original when players move close to you, but for players standing still close to you, and players moving and standing still a distance away, as well as the player's own view model, this tint isn't present

I haven't yet worked out a good way of controlling this tint so it only appears for cloaked players moving close to you, for now I figured it would be easier to modify the material so the red channel always receives the same value as the green and blue channels.

The difference between this and the original is the first Subtract proxy is run after the second Multiply proxy instead of before. This also renders the first Multiply proxy and the const $mod useless for now, and as such they have been commented out