Add colorspace extension to texture options. Fixes #184

This commit is contained in:
Syoyo Fujita
2018-09-14 13:42:27 +09:00
parent 803b65b8a0
commit 1cdfd786d8
4 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
newmtl default
Ka 0 0 0
Kd 0 0 0
Ks 0 0 0
Kt 0.1 0.2 0.3
map_Kd -colorspace sRGB -o 0.1 diffuse.jpg
map_Ks -s 0.1 0.2 specular.jpg
map_bump -colorspace linear -bm 3 bumpmap.jpg