Corto Posted September 25, 2017 Author Posted September 25, 2017 I've removed the blaster_r shader from the factory shaders a long time ago, just in case. I tried modifying the custom pset, I tried redirecting the actual texture in the material, I deleted the custom pset. Nothing. The game only shows the diffuse texture. It's completely ignoring the shader file. I'm going to take a look at the sourcecode to see if I can figure out exactly how the shaders work.
Solution AshuraDX Posted September 25, 2017 Solution Posted September 25, 2017 I've removed the blaster_r shader from the factory shaders a long time ago, just in case. I tried modifying the custom pset, I tried redirecting the actual texture in the material, I deleted the custom pset. Nothing. The game only shows the diffuse texture. It's completely ignoring the shader file. I'm going to take a look at the sourcecode to see if I can figure out exactly how the shaders work.a random Idea: try and swap / for \ in your custom Pset.
SomaZ Posted September 25, 2017 Posted September 25, 2017 a random Idea: try and swap / for \ in your custom Pset.Looks like we could have a winner here!
AshuraDX Posted September 25, 2017 Posted September 25, 2017 Looks like we could have a winner here!I had this exact same problem before I think, and iirc this was the solution.
Corto Posted September 25, 2017 Author Posted September 25, 2017 Bingo! That was it. Now it's taking the shader. Unfortunately, editing the cusomt pset didn't do the trick. I had to manually edit the file with Notepad ++. I'll talk about this with Archangel. Thanks guys! SomaZ and ChalklYne like this
ensiform Posted September 25, 2017 Posted September 25, 2017 Is the shader file encoding right? "UTF-8 without BOM" would be the right encoding afaik.Actually, only ascii is the correct encoding. Utf8 isn't really supported officially even if it might work.
SomaZ Posted September 25, 2017 Posted September 25, 2017 Actually, only ascii is the correct encoding. Utf8 isn't really supported officially even if it might work. Ah, good to know. Every vanilla text file from the game seems to be an "utf-8 without bom" encoding, at least that's what notepad++ says. This may be different from version to version (steam vs cd)?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now