mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-09 19:10:24 +00:00
Fix a mistake in Chinese translation (Chapter 2)
This commit is contained in:
parent
c647772a8f
commit
76f218923f
@ -36,7 +36,7 @@ void main() {
|
||||
|
||||
* 试试把第六行注释掉,不给函数赋任何像素的值。
|
||||
|
||||
* 尝试另外写个函数,返回某个颜色,然后把 ```main()``` 放到这个函数里面。给个提示,这个函数应该长这样:
|
||||
* 尝试另外写个函数,返回某个颜色,然后在 ```main()``` 里面使用这个函数。给个提示,这个函数应该长这样:
|
||||
|
||||
```glsl
|
||||
vec4 red(){
|
||||
|
Loading…
Reference in New Issue
Block a user