Hellession / ImprovedWaterWheel

Town of Salem mod that overhauls the Water Wheel scene to make it more unpredictable.
GNU Lesser General Public License v3.0
3 stars 0 forks source link

Shader doesn't work #3

Open Hellession opened 1 year ago

Hellession commented 1 year ago

The Improved Water Wheel mod comes with a shader, that is extracted from an assetbundle when you use the mod. However this shader never works. I don't know why.

My running theory is that this is because I am using a linux machine... but it's weird because I made sure to target Windows with the Editor and built the assetbundle for that.

This shader IS being used by the mod, but it doesn't work as intended, because you can see some version of this appear in the Player.log file: D3D shader create error for vertex shader [0x80070057]

When I made the shader, it worked perfectly fine on my machine™️ in Unity Editor. So the issue is probably not the shader itself, but something around it.

I don't know why this is happening though and how to fix it. This mod was meant to come out with the feature the shader was meant to implement, but because it didn't work I made the decision to scrap it without deleting the code.

Hellession commented 1 week ago

It works now, but I was unable to control the alpha of the resulting image, hence why this shader's functionality was disabled for release 1.0.7.