Fix material parameters enum (#2814)
* Fix material parameters enum Fixes bug #2812 * Add missing sampler type to filamat
This commit is contained in:
@@ -69,6 +69,7 @@ public class MaterialBuilder {
|
||||
SAMPLER_2D_ARRAY, // 2D array texture
|
||||
SAMPLER_CUBEMAP, // Cube map texture
|
||||
SAMPLER_EXTERNAL, // External texture
|
||||
SAMPLER_3D // 3D texture
|
||||
}
|
||||
|
||||
public enum SamplerFormat {
|
||||
|
||||
@@ -230,8 +230,10 @@ public class Material {
|
||||
MAT3,
|
||||
MAT4,
|
||||
SAMPLER_2D,
|
||||
SAMPLER_2D_ARRAY,
|
||||
SAMPLER_CUBEMAP,
|
||||
SAMPLER_EXTERNAL
|
||||
SAMPLER_EXTERNAL,
|
||||
SAMPLER_3D
|
||||
}
|
||||
|
||||
public enum Precision {
|
||||
|
||||
Reference in New Issue
Block a user