Skip to content

Commit

Permalink
changes based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
nearnshaw committed Dec 3, 2024
1 parent 3f1825c commit 02a642f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 121 deletions.
116 changes: 0 additions & 116 deletions content/ADR-253-light-sources.md

This file was deleted.

6 changes: 1 addition & 5 deletions content/ADR-255-texture-tweens.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,10 @@ The scene can also use a `TweenSequence` to make continuos movements possible, j

## Texture layers

Materials have several textures besides the albedo_texture, including bump_texture, alpha_texture, emissive_texture. Because of shader optimization reasons, the alignment of these fields is not independent from each other. The albedo_texture behaves as the base texture, any changes to this texture affect all other layers equally. Other layers are then able to set their own different alignment properties, but these are compounded with those of the base texture.

For example, if the offset of the base texture is `(0.2, 0)` and the offset of the emissive texture is `(0.1, 0)`, the final position of the emissive texture will end up equivalent to `(0.3, 0)`.
Materials have several textures besides the albedo_texture, including bump_texture, alpha_texture, emissive_texture. The `TextureMove` Tween affects the base texture, so all textures move together with it.

This applies to changing the `offset` and `tiling` fields manually, as well as using a texture tween.

The `TextureMove` Tween affects the base texture, so all textures move together with it.

## Serialization

```yaml
Expand Down

0 comments on commit 02a642f

Please sign in to comment.