@@ -59,12 +59,12 @@ namespace Ogre
59
59
bool _dualParaboloid, SceneManager *_sceneManager, Hlms *_hlms)
60
60
{
61
61
if (!_casterPass &&
62
- (this ->gzOgreRenderingMode == IORM_SOLID_COLOR ||
63
- this ->gzOgreRenderingMode == IORM_SOLID_THERMAL_COLOR_TEXTURED ))
62
+ (this ->gzOgreRenderingMode == GORM_SOLID_COLOR ||
63
+ this ->gzOgreRenderingMode == GORM_SOLID_THERMAL_COLOR_TEXTURED ))
64
64
{
65
65
_hlms->_setProperty (" gz_render_solid_color" , 1 );
66
66
67
- if (this ->gzOgreRenderingMode == IORM_SOLID_THERMAL_COLOR_TEXTURED )
67
+ if (this ->gzOgreRenderingMode == GORM_SOLID_THERMAL_COLOR_TEXTURED )
68
68
_hlms->_setProperty (" gz_render_solid_color_textured" , 1 );
69
69
}
70
70
@@ -143,8 +143,8 @@ namespace Ogre
143
143
}
144
144
145
145
if (_casterPass ||
146
- (this ->gzOgreRenderingMode != IORM_SOLID_COLOR &&
147
- this ->gzOgreRenderingMode != IORM_SOLID_THERMAL_COLOR_TEXTURED ))
146
+ (this ->gzOgreRenderingMode != GORM_SOLID_COLOR &&
147
+ this ->gzOgreRenderingMode != GORM_SOLID_THERMAL_COLOR_TEXTURED ))
148
148
{
149
149
return ;
150
150
}
@@ -160,8 +160,8 @@ namespace Ogre
160
160
const uint32 instanceIdx = HlmsTerra::fillBuffersForV1 (
161
161
_cache, _queuedRenderable, _casterPass, _lastCacheHash, _commandBuffer);
162
162
163
- if ((this ->gzOgreRenderingMode == IORM_SOLID_COLOR ||
164
- this ->gzOgreRenderingMode == IORM_SOLID_THERMAL_COLOR_TEXTURED ) &&
163
+ if ((this ->gzOgreRenderingMode == GORM_SOLID_COLOR ||
164
+ this ->gzOgreRenderingMode == GORM_SOLID_THERMAL_COLOR_TEXTURED ) &&
165
165
!_casterPass)
166
166
{
167
167
const Ogre::Terra *terra =
@@ -193,12 +193,12 @@ namespace Ogre
193
193
dataPtr[1 ] = customParam.y ;
194
194
dataPtr[2 ] = customParam.z ;
195
195
196
- if (this ->gzOgreRenderingMode == IORM_SOLID_THERMAL_COLOR_TEXTURED &&
196
+ if (this ->gzOgreRenderingMode == GORM_SOLID_THERMAL_COLOR_TEXTURED &&
197
197
terra->HasSolidColor (2u ))
198
198
{
199
199
GZ_ASSERT (customParam.w >= 0 .0f ,
200
200
" customParam.w can't be negative for "
201
- " IORM_SOLID_THERMAL_COLOR_TEXTURED " );
201
+ " GORM_SOLID_THERMAL_COLOR_TEXTURED " );
202
202
203
203
// Negate customParam.w to tell the shader we wish to multiply
204
204
// against the diffuse texture. We substract 0.5f to avoid -0.0 = 0.0
@@ -221,8 +221,8 @@ namespace Ogre
221
221
const uint32 instanceIdx = HlmsTerra::fillBuffersForV2 (
222
222
_cache, _queuedRenderable, _casterPass, _lastCacheHash, _commandBuffer);
223
223
224
- if ((this ->gzOgreRenderingMode == IORM_SOLID_COLOR ||
225
- this ->gzOgreRenderingMode == IORM_SOLID_THERMAL_COLOR_TEXTURED ) &&
224
+ if ((this ->gzOgreRenderingMode == GORM_SOLID_COLOR ||
225
+ this ->gzOgreRenderingMode == GORM_SOLID_THERMAL_COLOR_TEXTURED ) &&
226
226
!_casterPass)
227
227
{
228
228
const Ogre::Terra *terra =
@@ -255,12 +255,12 @@ namespace Ogre
255
255
dataPtr[2 ] = customParam.z ;
256
256
dataPtr[3 ] = customParam.w ;
257
257
258
- if (this ->gzOgreRenderingMode == IORM_SOLID_THERMAL_COLOR_TEXTURED &&
258
+ if (this ->gzOgreRenderingMode == GORM_SOLID_THERMAL_COLOR_TEXTURED &&
259
259
terra->HasSolidColor (2u ))
260
260
{
261
261
GZ_ASSERT (customParam.w >= 0 .0f ,
262
262
" customParam.w can't be negative for "
263
- " IORM_SOLID_THERMAL_COLOR_TEXTURED " );
263
+ " GORM_SOLID_THERMAL_COLOR_TEXTURED " );
264
264
265
265
// Negate customParam.w to tell the shader we wish to multiply
266
266
// against the diffuse texture. We substract 0.5f to avoid -0.0 = 0.0
0 commit comments