-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outline tweaks and spectator xray #800
Conversation
fix stupid ide changing random whitespaces
Hi @krizej, Could you define 'r_fx_geometry has been rewritten from scratch and merged with gl_outline' a bit more detailed? |
the entire geometry shader has been rewritten (erased and written in a different, hopefully better way) i have got one more thing left to do, which is to remove the old |
will check those things out tommorow, thanks for testing |
…the modern renderer
Hey, few things:
Great work though! |
hi, ruleset rules are applied on individual modes ( the scale was already changed, i limited it to ranges 0-1 in smackdown and qcon (where model outlines are disabled anyway), and other rulesets have the 0-5 limit (altough maybe i should change it to 0-2 or something, except for ruleset default). as for thanks! |
Thanks for the clarification! Great contributions, I reckon it'll get accepted very soon :-) |
changes:
r_fx_geometry
has been merged withgl_outline
gl_outline_color_world
- sets the color of the world outlinegl_outline_color_model
- sets the color of the model outlinegl_outline_color_team
- sets the color of friendly players' outlinesgl_outline_color_enemy
- sets the color of enemy players' outlinesgl_outline_scale_model
- adjusts the scale of the model outline (smackdown/qcon have 0-1 limit, 0-5 on others)gl_outline_depth_threshold
- adjusts the threshold for drawing world outlines using depth valuesgl_outline_use_player_color
- uses the top and bottom colors of players as outline colorsgl_spec_xray
- demo/qtv-only, see players through walls (uses the gl_outline shader and is affected by outline color and scale values) (REQ: Spec feature - See through walls #711)gl_spec_xray_distance
- sets the distance from which you can see players through walls