Jump to content

Is there a way to reload .shader files while playing the game?


Corto
Go to solution Solved by AshuraDX,

Recommended Posts

Posted

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
Posted

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.

Posted

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
Posted

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.

Posted

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)?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...