File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,12 +175,11 @@ class MX_GENSHADER_API GenOptions
175175 bool hwWriteAlbedoTable;
176176
177177 // / Calculate fallback bitangents from existing normals and tangents
178- // / inside the < bitangent> node.
178+ // / inside the bitangent node.
179179 bool hwImplicitBitangents;
180180
181181 // / Enable emitting colorspace transform code if a color management
182- // / system is defined.
183- // / Defaults to true.
182+ // / system is defined. Defaults to true.
184183 bool emitColorTransforms;
185184};
186185
Original file line number Diff line number Diff line change @@ -28,13 +28,11 @@ using TextureBakerPtr = shared_ptr<class TextureBakerGlsl>;
2828// / A vector of baked documents with their associated names.
2929using BakedDocumentVec = std::vector<std::pair<std::string, DocumentPtr>>;
3030
31- // / @class TextureBaker
32- // / A helper class for baking procedural material content to textures.
33- // / TODO: Add support for graphs containing geometric nodes such as position
34- // / and normal.
31+ // / @class TextureBakerGlsl
32+ // / An implementation of TextureBaker based on GLSL shader generation.
3533class MX_RENDERGLSL_API TextureBakerGlsl : public TextureBaker<GlslRenderer, GlslShaderGenerator>
3634{
37- public:
35+ public:
3836 static TextureBakerPtr create (unsigned int width = 1024 , unsigned int height = 1024 , Image::BaseType baseType = Image::BaseType::UINT8)
3937 {
4038 return TextureBakerPtr (new TextureBakerGlsl (width, height, baseType));
You can’t perform that action at this time.
0 commit comments