Skip to content

laurirasanen/hl-renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

A modified OpenGL renderer for Xash3D FWGS

Custom renderer for playing around with post-processing effects in half-life. Don't expect stability.

Portable?

No. I'm only testing this on a Linux desktop with --enable-static-gl.


Installation & Running

  1. See Xash3D FWGS instructions: https://github.com/FWGS/xash3d-fwgs
  2. Overwrite the default ref_gl binary with a precompiled one from GitHub Releases (TODO) or build your own
  3. Run Xash3D

Build instructions

  1. See Xash3D FWGS instructions: https://github.com/FWGS/xash3d-fwgs
  2. Overwrite Xash3D ref/gl source folder with the one in this repository
  3. Use --enable-static-gl when configuring waf
  4. Build Xash3D

Features

Basic color grading

  • gl_cg_red <value>
  • gl_cg_green <value>
  • gl_cg_blue <value>
  • gl_cg_gamma <value>
  • gl_cg_gain <value>

cg comparison image

Vignette

  • gl_vignette_strength <value>
  • gl_vignette_distance <value>
  • gl_vignette_curvature <value>

vignette comparison image

Chromatic aberration

  • gl_chromatic_aberration_strength <value>
  • gl_chromatic_aberration_distance <value>
  • gl_chromatic_aberration_bias <value>

chromatic aberration comparison image

About

A modified OpenGL renderer for Xash3D FWGS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published