You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-18Lines changed: 25 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,47 +1,52 @@
1
1
# Software Renderer
2
2
3
-
This is a shader-based software renderer written from scratch. It is written in C89 with minimal dependencies, available for Windows, macOS, and Linux.
3
+
This is a shader-based software renderer written from scratch. It is written
4
+
in C89 with minimal dependencies, available for Windows, macOS, and Linux.
4
5
5
6
## Features
6
7
7
8
* Cross-platform (Windows, macOS, and Linux)
9
+
* Minimal dependencies
8
10
* Shader-based
9
11
* Real-time
10
-
* Blinn–Phong shading
12
+
* Blinn–Phong reflection model
11
13
* Physically based rendering (PBR)
12
14
* Metalness workflow
13
15
* Specular workflow
14
16
* Image-based lighting (IBL)
15
17
* Normal mapping
16
18
* Shadow mapping
17
-
* Depth testing
18
-
* Alpha testing
19
-
* Blending
20
-
* Clipping
21
-
* Back-face culling
22
-
* Perspective-correct interpolation
23
-
* Skybox
24
-
* Texturing (2D, Cubemap)
19
+
* Cubemapped skybox
25
20
* Skeletal animation
26
21
* Orbit camera control
27
-
* Mesh loading (obj, glTF)
22
+
* Back-face culling
23
+
* Homogeneous clipping
24
+
* Perspective-correct interpolation
25
+
* Depth testing
26
+
* Alpha testing
27
+
* Alpha Blending
28
+
* Mesh loading (obj, gltf)
28
29
* Image loading (tga, hdr)
29
30
30
31
## Download
31
32
32
-
[Binaries](https://github.com/zauonlok/renderer/releases) for Windows, macOS, and Linux are available.
33
+
[Binaries](https://github.com/zauonlok/renderer/releases) for Windows, macOS,
34
+
and Linux are available.
33
35
34
36
## Build
35
37
36
-
To build the renderer from source, a C89 compiler and development files for your window system are required.
38
+
To build the renderer from source, a C89 compiler and development files for
39
+
your window system are required.
37
40
38
41
### Windows
39
42
40
-
Install [Visual Studio](https://visualstudio.microsoft.com/downloads/) and run `build_win32.bat`.
43
+
Install [Visual Studio](https://visualstudio.microsoft.com/downloads/) and
44
+
run `build_win32.bat`.
41
45
42
46
### macOS
43
47
44
-
Install [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12) and run `build_macos.sh`.
48
+
Install [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12) and
If the renderer is launched without arguments, one of the available scenes (see below) will be chosen randomly. To display a specific scene, additional arguments should be supplied. The command line syntax is:
77
+
If the renderer is launched without arguments, one of the available scenes
78
+
(see below) will be chosen randomly. To display a specific scene, additional
79
+
arguments should be supplied. The command line syntax is:
0 commit comments