Bart Posted April 17, 2018 Posted April 17, 2018 I've read this - https://jkhub.org/topic/10479-best-shiny-floor-shader/ - topic, but it seems to be going towards mirror effect rather than to what I'm trying to achieve, so I've decided to make another thread. I've spent some time trying to create a shader that would allow my model to look like a golden statue; shiny, sure, even with a large "mirror effect" but certainly not just pure bathroom-mirror effect. I've used the enviro shader that goes like this: models/map_objects/pomnik_onderon/elia_neck { qer_editorimage models/map_objects/pomnik_onderon/elia_neck q3map_nolightmap { map models/map_objects/pomnik_onderon/elia_neck rgbGen vertex } { map models/map_objects/pomnik_onderon/gold_enviro blendFunc GL_DST_COLOR GL_ONE tcGen environment } } And it looks very good, just like shiny gold... as far as I don't move. Any small movement makes the light move chaotically, it looks like it's animated, but in a really wrong manner, without any logic. So, any good shader for a gold effect? Smoo and Droidy365 like this
RebelChum Posted April 17, 2018 Posted April 17, 2018 This is just a shot in the dark but maybe try this? models/map_objects/pomnik_onderon/elia_neck { qer_editorimage models/map_objects/pomnik_onderon/elia_neck q3map_lightmapsamplesize 1x1 { map $lightmap rgbGen identity } { map models/map_objects/pomnik_onderon/elia_neck blendFunc GL_DST_COLOR GL_ZERO } { map models/map_objects/pomnik_onderon/gold_enviro blendFunc GL_DST_COLOR GL_SRC_COLOR tcGen environment } } Bart and Smoo like this
Bart Posted April 17, 2018 Author Posted April 17, 2018 Hey, it actually works really, really well! Requires some texture modification for robes on the statue, but that's a normal thing. Thanks! RebelChum likes this
RebelChum Posted April 17, 2018 Posted April 17, 2018 Yeah you might have to adjust the brightness of the actual texture... was it too dark? Either way, glad it's working a bit better! Now teach me how to speak Polish so I can join.
the_raven Posted April 18, 2018 Posted April 18, 2018 Hey, do post some screens of before and after, aye?
Droidy365 Posted April 19, 2018 Posted April 19, 2018 Could you please also post your textures too? I'm thinking of using something like this
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