I'm looking through the original Grimrock textures and I see some of the files have shadtex in their names. It only crops up on objects like the green slime and red gem, healing crystal and ice shards.
And yet- I don't understand how the models are referencing these images because it's not included in the material definition.
shadtex textures; how are they used in the original assets?
shadtex textures; how are they used in the original assets?
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
- Message me to join in!
Re: shadtex textures; how are they used in the original asse
Been wondering this too because I've tried to make new gems with different colors but the nice swirly effect is lost when you change the dif texture.
Re: shadtex textures; how are they used in the original asse
They use a custom shader. The shadertex.tga acts kind of like an environment map that rotates.
Follow me on Twitter: @JuhoMakingStuff
Re: shadtex textures; how are they used in the original asse
But how does the object reference it without being in the material definition?
The only material that lists it anywhere is the red_gem
The only material that lists it anywhere is the red_gem
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
- Message me to join in!
Re: shadtex textures; how are they used in the original asse
Currently it's just hardcoded instead of being supported with the material system so it's not moddable. Back then we didn't know we were going to add modding support so we took a lot of shortcuts like these.Neikun wrote:But how does the object reference it without being in the material definition?
The only material that lists it anywhere is the red_gem
Steven Seagal of gaming industry
Re: shadtex textures; how are they used in the original asse
I like that word "currently"
Thanks for unfogging that little mystery guys. :3
Thanks for unfogging that little mystery guys. :3
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
- Message me to join in!
Re: shadtex textures; how are they used in the original asse
Allow us write our own shaders. Its a good idea, honest! 
Re: shadtex textures; how are they used in the original asse
Simply having access to shader textures may be enough ...