How can i make a gloss shader? You know, it's like the opposite of a chrome shader: Instead of making metallic dark things it puts metallic white things. Y'know?
the only way I know is using an environment shader or specualrity shader you can also combine both here's a combined one :
"texturepath" { q3map_nolightmap { map "texturepath" blendFunc GL_ONE GL_ZERO rgbGen lightingDiffuse } { map "speculartexturepath" blendFunc GL_SRC_ALPHA GL_ONE detail alphaGen lightingSpecular } { map "environmenttexturepath" blendFunc GL_DST_COLOR GL_SRC_COLOR detail tcGen environment } }
for a very glossy appereance you should use something like this as environment texture
use different environment textures for different materials
maybe this isnt the best way but with the right use of environment texture you can get different effects
what's an environment texture? I don't have time to test it right now.
Arc Nine;4967794what's an environment texture? I don't have time to test it right now.
it over lays an texture and moves around acording to the lighting and camera perspetice :)
So like the hangar floor in Darth Norman's Battle over Coruscant? o.O if it is then I figure I'll look into it more and use it on the Jedi Temple map I'm going to start soon from TFU
Authuran;4967839So like the hangar floor in Darth Norman's Battle over Coruscant? o.O if it is then I figure I'll look into it more and use it on the Jedi Temple map I'm going to start soon from TFU
something like that yes and that mettallic look at my sith stalker saber is made by using an environment texture too same for my ashoka tano lightsaber environment textures simulate a reflection
Ahhh yes of course lol they will come in handy in future maps. Do they bring down fps considerably if used on all floors? (AKA, every single texture used on a floor uses envmap)
I'm pretty sure they will but only if you OVERUSE them or use very detailed enviro. textures
What do very detailed envmaps look like? Because I am looking forward to creating sort of a shiny, sun ground, like it was in TFU and and DN's Battle Over Coruscant hangar
this is another shader that has a type of shine effect models/weapons2/tReb/Steel { { map models/weapons2/tReb/steel blendFunc GL_ONE GL_ZERO rgbGen lightingDiffuse } { map models/weapons2/tReb/steel_spec blendFunc GL_SRC_ALPHA GL_ONE detail alphaGen lightingSpecular } }
- 1
- 2