mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 19:09:20 +02:00
build 191224. opengl 3.3 renderer material glossiness support, minor bug fixes
This commit is contained in:
@@ -267,6 +267,13 @@ opengl_material::deserialize_mapping( cParser &Input, int const Priority, bool c
|
||||
selfillum = std::stof(value); //m7t: handle exception
|
||||
m_selfillum_priority = Priority;
|
||||
}
|
||||
else if (key == "glossiness:" &&
|
||||
Priority > m_glossiness_priority)
|
||||
{
|
||||
std::string value = deserialize_random_set( Input );
|
||||
glossiness = std::stof(value); //m7t: handle exception
|
||||
m_glossiness_priority = Priority;
|
||||
}
|
||||
else if( key == "size:" ) {
|
||||
Input.getTokens( 2 );
|
||||
Input
|
||||
|
||||
Reference in New Issue
Block a user