Mercurial > hg > forks > gldragon
view dragon.scene @ 32:1215fdd0a8ab
Add support for specifying specular and shininess values per model.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 22 Nov 2019 22:57:14 +0200 |
parents | 2403030a0352 |
children |
line wrap: on
line source
# Dragon model with 2 lights # all settings have default values which will be used # if they are not overridden / specified for the element model dragon.ply specular 0.8 0.5 0.2 shininess 96 #scale 1 1 0.1 #model models/cube.ply # scale 0.015 # translate -3 7 0 # rotate 0 0 0 # specular 0 1 0 # shininess 3 light position 10 10 0.0 #ambient 0 #diffuse 0 0.3 0.3 light position -50 50 0 diffuse 1.0 0 0 ambient 0.1 0.1 0