{"id":19206141,"url":"https://github.com/saggre/raymarch-engine","last_synced_at":"2026-03-06T06:32:17.892Z","repository":{"id":37447786,"uuid":"211385543","full_name":"Saggre/raymarch-engine","owner":"Saggre","description":"A game engine that renders primitive objects by utilizing raymarching","archived":false,"fork":false,"pushed_at":"2022-06-21T11:53:06.000Z","size":14767,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T17:22:23.479Z","etag":null,"topics":["3d","ambient-occlusion","blinn-phong","directx","game-engine","raymarching","rendering","sharpdx","signed-distance-functions","subsurface-scattering"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Saggre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-27T19:09:38.000Z","updated_at":"2024-12-05T19:21:13.000Z","dependencies_parsed_at":"2022-08-19T12:40:43.369Z","dependency_job_id":null,"html_url":"https://github.com/Saggre/raymarch-engine","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Saggre/raymarch-engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saggre%2Fraymarch-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saggre%2Fraymarch-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saggre%2Fraymarch-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saggre%2Fraymarch-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Saggre","download_url":"https://codeload.github.com/Saggre/raymarch-engine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saggre%2Fraymarch-engine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30164594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T04:43:31.446Z","status":"ssl_error","status_checked_at":"2026-03-06T04:40:30.133Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d","ambient-occlusion","blinn-phong","directx","game-engine","raymarching","rendering","sharpdx","signed-distance-functions","subsurface-scattering"],"created_at":"2024-11-09T13:14:54.133Z","updated_at":"2026-03-06T06:32:17.866Z","avatar_url":"https://github.com/Saggre.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raymarch Engine (WIP)\n\nA game engine that renders primitive objects by utilizing raymarching. Different operations can be applied to the\nprimitives to create more complex objects. The engine uses `SharpDX` as its `DirectX`\nwrapper and `System.Numerics.Vectors` for Vectors, Quaternions and Matrices.\n\nRaymarch shader code is located [here](Shaders/Raymarch/Pixel.hlsl).\n\n## Live rendering preview\n\n### Things to look for:\n\n- The preview has four different primitives (octahedron, box, sphere, plane). And one light source.\n- All objects cast and receive shadows. These are fully dynamic.\n- Octahedron, sphere and plane have reflections.\n- All objects have Blinn–Phong shading as a base.\n- The octahedron has subsurface scattering. light penetrates its thin edges, making them appear lighter.\n- The box has rounded corners as a result of a rounding operation being applied to it.\n- There is ambient occlusion and blue noise applied to the view space.\n- Some purple-ish distance fog is visible in the background.\n- Raymarched objects have infinite resolution (signed distance function = no mesh).\n\n![Rendering preview](.github/assets/raymarch.gif)\n\n## Requirements:\n\n- .NET Framework 4.8\n- C# 7.3+\n- DirectX 11\n- Shader Model 5 support\n- A capable GPU\n\n## Supported primitives:\n\n- Sphere\n- Box\n- Plane\n- Torus\n- Capped torus\n- Ellipsoid\n- Capsule\n- Hex prism\n- Cone\n- Cylinder\n- Pyramid\n- Octahedron\n- Rhombus\n\n## Supported operations:\n\n+ Rounding\n+ Infinite repetition\n+ Union\n+ Subtraction\n+ Intersection\n+ Onion slicing\n\n## Current features and future work:\n\n- :heavy_check_mark: Basic gameobjects\n- :heavy_check_mark: Basic shading (Blinn–Phong)\n- :heavy_check_mark: Ambient occlusion\n- :heavy_check_mark: Subsurface scattering\n- :heavy_check_mark: Blue noise\n- :heavy_check_mark: Reflections\n- :heavy_check_mark: Soft shadows\n- :heavy_minus_sign: All primitives\n- :x: Dynamic sky\n- :x: Custom resolutions\n- :x: Color blending between shapes\n- :x: Fractals\n- :x: Physics\n- :x: Custom shader code editor\n- :x: Checkerboard rendering\n- :x: Pre-compiled shaders\n- :x: OpenGL support\n- :x: Hyperbolic and spherical spaces","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaggre%2Fraymarch-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaggre%2Fraymarch-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaggre%2Fraymarch-engine/lists"}