Implement raytraced lightmap
This commit is contained in:
@@ -31,6 +31,7 @@ enum class kShaderUniform : uint16_t
|
||||
Direction = const_hash("dir"),
|
||||
UseFragCoordUV2 = const_hash("fragUV2"),
|
||||
LightDir = const_hash("light_dir"),
|
||||
Mode = const_hash("mode"),
|
||||
};
|
||||
|
||||
enum class kShader : uint16_t
|
||||
@@ -56,6 +57,8 @@ enum class kShader : uint16_t
|
||||
BrushStroke = const_hash("brush-stroke"),
|
||||
VertexColor = const_hash("vertex-color"),
|
||||
Lambert = const_hash("lambert"),
|
||||
LambertLightmap = const_hash("lambert-lightmap"),
|
||||
BakeUV = const_hash("bakeuv"),
|
||||
};
|
||||
|
||||
class Shader
|
||||
|
||||
Reference in New Issue
Block a user