Original color buffer

  • Posts: 92
1 year 1 month ago #1 by piltrafus
Hi. How do you access in reshade 4.x a sampler with the original color if you need it in a shader?
In reshade 2.x it was something like tex2d(ReShde::Originalcolor, texcoord.xy) but I don't know if there's something similar in reshade 4.
Any help would be appreciated.
Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 3741
1 year 1 month ago #2 by crosire
You need to write it out to a texture in a first pass and then use that texture when necessary in subsequent passes.
The following user(s) said Thank You: piltrafus

Please Log in or Create an account to join the conversation.

  • Posts: 60
1 year 1 month ago #3 by CeeJay.dk
Take a look a Splitscreen.fx - It does exactly that.
The following user(s) said Thank You: piltrafus

Please Log in or Create an account to join the conversation.