Shader question

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
sst13
Posts: 298
Joined: Mon Feb 15, 2010 11:05 pm

Shader question

Post by sst13 »

What's the deal with "rgbGen exactVertex"?

Q3ASE tells me "This keyword is not available in normal Q3A, using Vertex instead".
So i've never used this key - always wondering how to get the correct brightness in vertex lit shaders. (rgbGen Vertex + fullscreen = to dark)

But "exactVertex" seems to work fine in Q3A. There are also some valid original shader using this keyword.

Is it just a bug within Q3ASE?
Or are there maybe some issues with this key? (maybe only on particular GFX-cards)

I'm a little bit confused now. Is it "safe" to use exactVertex? :confused:
[url=https://sst13.de]Q3A Maps - by sst13[/url]
[url=https://steamcommunity.com/id/_sst13_/myworkshopfiles]Quake Live Workshop[/url]
AndyW
Posts: 848
Joined: Wed Mar 11, 2015 3:23 pm

Re: Shader question

Post by AndyW »

I found this: http://q3map2.robotrenegade.com/docs/sh ... tives.html
--------
rgbGen exactVertex:
Like vertex, except exactVertex ignores overbrightbits. Generally brighter under default settings.
--------

Seems "safe" i think :)
Hope that helps!
Die Vitamine sind in der Dose gefangen!!!
$NulL
Posts: 100
Joined: Wed Mar 27, 2002 8:00 am

Re: Shader question

Post by $NulL »

exactvertex is perfectly safe. Years ago I could have given you an exact definition of what the difference is, but maintaining brightness between overbright bits settings sounds right. I had a quick look at one of my shader files, I've used exactvertex a lot myself. I think Q3ASE has quite a lot of bugs :)
User avatar
CZghost
Posts: 1943
Joined: Wed Jun 22, 2011 1:45 pm
Location: Czechia
Contact:

Re: Shader question

Post by CZghost »

Yes, that's why I'd like to build own shader editor (just need some resources). Q3ASE is a way too much buggy and using DirectX renderer instead of OpenGL makes for different looking apart from the game.
[ Linktree | Twitch | YouTube | Instagram | Websites ]
When you feel the worst, turn to the sun and all the shadows will fall behind you.” - John Lennon
User avatar
Hipshot
Posts: 1547
Joined: Sun Jan 20, 2002 8:00 am

Re: Shader question

Post by Hipshot »

Just make your shader changes and whatnot, then use vid_restart in the game, that's what I always do.
Q3Map2 2516 -> http://www.zfight.com/misc/files/q3/q3map_2.5.16_win32_x86.zip
Q3Map2 FS_20g -> http://www.zfight.com/misc/files/q3/q3map2_fs_20g.rar
GtkRadiant 140 -> http://www.zfight.com/misc/files/q3/GtkRadiantSetup-1.4.0-Q3RTCWET.exe
sst13
Posts: 298
Joined: Mon Feb 15, 2010 11:05 pm

Re: Shader question

Post by sst13 »

Ok, thanks guys! I'm going to use it...
[url=https://sst13.de]Q3A Maps - by sst13[/url]
[url=https://steamcommunity.com/id/_sst13_/myworkshopfiles]Quake Live Workshop[/url]
Post Reply