#Material started to turn Render Texture black

1 messages · Page 1 of 1 (latest)

misty frost
#

First of all, sorry if it's something more for Tech Art than programming, I just assumed this forum is more of an 'overall' thing. Please let me know if it's a wrong place.

The player view in our game is made through the use of a Render Texture, scaled down for a pixelated look. However, we also put it through a shader which is supposed to allow us to pixelate it more or add other things. It worked fine, until I decided to continue some of the work on my Linux laptop.

With Linux using OpenGL, I noticed the Raw Image was black even though the render texture itself seemed fine. After switching the Linux API to Vulkan, the issue was fixed. I worked on a few other things and pushed a commit.

However, now I'm back on Windows and the issue just appeared. The Windows API is set to DirectX 11, not Vulkan. I can also confirm the Render Texture itself looks normal, but the material turns the whole thing black. Any ideas?

What I tried:

  • Changing Windows API to DirectX 12
  • Reimporting the shader
  • Deleting the Library/ShaderCache

Any more ideas?

versed spade
misty frost