Apply the list on README.md
This commit is contained in:
parent
e5c0bba740
commit
72bf3a16e5
|
|
@ -4,7 +4,7 @@ As I read this book, I summarize what I think is wrong. If you think my comments
|
|||
|
||||
## The pipeline state
|
||||
|
||||
When this book creates a pipeline state, they manually set the output pixel format like below.
|
||||
* When this book creates a pipeline state, they manually set the output pixel format like below.
|
||||
|
||||
```
|
||||
pipelineDescriptor.colorAttachments[0].pixelFormat = .bgra8Unorm
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@ As I read this book, I summarize what I think is wrong. If you think my comments
|
|||
|
||||
## Metal coordinate system
|
||||
|
||||
The book doesn't mention that The Metal NDC(Normalized Device Coordinate) system is the left-hand coordinate system.
|
||||
* The book doesn't mention that The Metal NDC(Normalized Device Coordinate) system is the left-hand coordinate system.
|
||||
|
||||

|
||||
|
||||
To show the train, this book modified the model file itself. It's not bad but I believe that the model file should be remained to original. Instead of changing y position to -1, we can modify the vertex shader code like below and get the same result.
|
||||
* To show the train, this book modified the model file itself. It's not bad but I believe that the model file should be remained to original. Instead of changing y position to -1, we can modify the vertex shader code like below and get the same result.
|
||||
|
||||
```
|
||||
vertex float4 vertex_main(const VertexIn vertex_in [[ stage_in ]]) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue