Corto Posted September 25, 2017 Author Share 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. Link to comment
Solution AshuraDX Posted September 25, 2017 Solution Share 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. Link to comment
SomaZ Posted September 25, 2017 Share Posted September 25, 2017 a random Idea: try and swap / for \ in your custom Pset.Looks like we could have a winner here! Link to comment
AshuraDX Posted September 25, 2017 Share 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. Link to comment
Corto Posted September 25, 2017 Author Share 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 Link to comment
ensiform Posted September 25, 2017 Share 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. Link to comment
SomaZ Posted September 25, 2017 Share 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)? Link to comment
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