8000 GitHub - 3kh0/cs2go: A browser port of Counter-Strike 2 powered by Three.js. Not affiliated with Valve or Counter-Strike. · GitHub
[go: up one dir, main page]

Skip to content
3kh0Public

About

A browser port of Counter-Strike 2 powered by Three.js. Not affiliated with Valve or Counter-Strike.

Topics

Resources

Stars

35 stars

Watchers

2 watching

Forks

Repository files navigation

cs2go

GitHub repo size GitHub Repo stars

A browser port of Counter-Strike 2, powered by Three.js. This is in early beta but is playable. Not affliated with Valve or Counter-Strike.

Vertigo, Nuke, Inferno and Cache are available as early map previews alongside Dust II and Mirage. Visual parity and performance tuning are still in progress.

Hardware-accelerated Chrome or Edge is recommended. Firefox-based browsers such as Firefox and Zen can play with reduced performance and visuals, the shaders compile serially, so loading is slower, and lack BPTC textures, so the native sky, reflections and HDR lighting fall back to simpler versions. Skin customization requires WebGPU.

How to play

https://en.wikipedia.org/wiki/Counter-Strike_2

How to actually play

  1. Open https://cs2go.3kh0.net in a Chromium-based browser
  2. Profit?

For the sake of making the game fun, I host 2 servers in the US that are already selectable in the game. You can also host your own server if you want to play with friends.

Local Development

This is a fat ass monorepo. Frontend is on Coolify and assets are served from Cloudflare R2. To run locally, you just need to do bun dev and you should be ready for the races.

Install with bun install --frozen-lockfile. This also applies the Three.js 0.187.0 ESM/source patch in patches/: instanced raycasts release their temporary geometry/material references, which otherwise keep retired map scenes alive through shader callbacks. It does not change ray hits, rendering, or texture quality. Retain this cleanup when updating Three.js.

About

A browser port of Counter-Strike 2 powered by Three.js. Not affiliated with Valve or Counter-Strike.

Topics

Resources

Stars

35 stars

Watchers

2 watching

Forks

Packages

Used by

Contributors

Languages

0