Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (tx->bWarped)
- {
- mShaderIndex = tx->bWarped;
- tx->gl_info.shaderspeed = static_cast<FWarpTexture*>(tx)->GetSpeed();
- }
- else if (tx->bHasCanvas)
- {
- }
- else
- {
- if (tx->gl_info.shaderindex >= FIRST_USER_SHADER)
- {
- mShaderIndex = tx->gl_info.shaderindex;
- }
- else
- {
- tx->CreateDefaultBrightmap();
- if (tx->gl_info.Brightmap != NULL)
- {
- ValidateSysTexture(tx->gl_info.Brightmap, expanded);
- FTextureLayer layer = {tx->gl_info.Brightmap, false};
- mTextureLayers.Push(layer);
- mShaderIndex = 3;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement