Skip to content

Pipeline

Daan Kikkert edited this page May 24, 2024 · 16 revisions

Index

Engine

Game engine: Unity

We decided to use Unity as most of the team has the most experience in it. Unity also seems the most well-suited for making high-performance web-games out of all considered options. We are using the Universal Render Pipeline because we believe it gives the best balance between visuals and performance.

Version: 2022.3.19f1

We decided to use this version of Unity because it's the latest Unity version with LTS. This means it is likely the most stable version of Unity while still being mostly up to date with features.

Models

For modeling we use either Blender , 3DS Max or Maya. A model needs to be exported as an FBX. The scale should be 0.0.0 and the unit scale should be 1 unit = 1 meter, with X-forward, Z-right, Y-up orientation. Once exported, the artist makes a new GitHub branch to import the model. Once imported, the artist verifies the orientation and scale of the model, imports textures, creates materials, and applies the textures and materials . All static environmental models should be made into a complete prefab by the artist. Once finished, this is uploaded to GitHub and a pull request is made.

Texturing

for texturing we use Photoshop and Substance designer. Substance designer is used for tiling environmental textures while Photoshop is used for all other textures. All texture resolutions should be in a power of two (for example 512x512 or 256X1024) with preferably equal length and width unless otherwise necessary. Textures should never use the alpha channel, unless it is a color/albedo/diffuse texture that also requires the alpha channel for transparency/opacity.

Shaders

Shaders must be made in-engine, as shaders from other sources (for example Blender shaders) are not supported in the final product.

Rigging

Rigging is done in Maya or Blender. Preferably by the artist that made the model.

Prefabs

All prefabs should have an empty game object as a parent. This is done so that each child object of a prefab can easily be scaled and positioned individually without affecting other parts of the prefab. the transform values of the empty parent object should all be reset to defaults when the object is made into a prefab.

GitHub flow

Gitflow: See Gitflow page

Conventions

Code conventions: See code conventions page

Asset naming conventions: See asset naming conventions page

Clone this wiki locally