mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-10 01:36:26 +02:00
stray control-Ms
This commit is contained in:
parent
591edc0527
commit
8a4339e57f
1 changed files with 18 additions and 18 deletions
|
@ -76,26 +76,26 @@ public:
|
||||||
void setOpacity(float opacity);
|
void setOpacity(float opacity);
|
||||||
|
|
||||||
// Schema to access the attribute values of the material
|
// Schema to access the attribute values of the material
|
||||||
class Schema {
|
class Schema {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
Color _diffuse;
|
Color _diffuse;
|
||||||
float _opacity;
|
float _opacity;
|
||||||
Color _specular;
|
Color _specular;
|
||||||
float _shininess;
|
float _shininess;
|
||||||
Color _emissive;
|
Color _emissive;
|
||||||
float _spare0;
|
float _spare0;
|
||||||
|
|
||||||
Schema() :
|
Schema() :
|
||||||
_diffuse(0.5f),
|
_diffuse(0.5f),
|
||||||
_opacity(1.0f),
|
_opacity(1.0f),
|
||||||
_specular(0.03f),
|
_specular(0.03f),
|
||||||
_shininess(0.1f),
|
_shininess(0.1f),
|
||||||
_emissive(0.0f)
|
_emissive(0.0f)
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
const UniformBufferView& getSchemaBuffer() const { return _schemaBuffer; }
|
const UniformBufferView& getSchemaBuffer() const { return _schemaBuffer; }
|
||||||
|
|
||||||
void setTextureView(MapChannel channel, const TextureView& texture);
|
void setTextureView(MapChannel channel, const TextureView& texture);
|
||||||
const TextureMap& getTextureMap() const { return _textureMap; }
|
const TextureMap& getTextureMap() const { return _textureMap; }
|
||||||
|
|
Loading…
Reference in a new issue