Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/Ketsji/BL_BlenderShader.cpp
| Context not available. | |||||
| obcol[0] = obcol[1] = obcol[2] = obcol[3] = 1.0f; | obcol[0] = obcol[1] = obcol[2] = obcol[3] = 1.0f; | ||||
| float auto_bump_scale = ms.m_pDerivedMesh!=0 ? ms.m_pDerivedMesh->auto_bump_scale : 1.0f; | float auto_bump_scale = ms.m_pDerivedMesh!=0 ? ms.m_pDerivedMesh->auto_bump_scale : 1.0f; | ||||
| GPU_material_bind_uniforms(gpumat, obmat, obcol, auto_bump_scale); | GPU_material_bind_uniforms(gpumat, obmat, obcol, auto_bump_scale, NULL); | ||||
| mAlphaBlend = GPU_material_alpha_blend(gpumat, obcol); | mAlphaBlend = GPU_material_alpha_blend(gpumat, obcol); | ||||
| } | } | ||||
| Context not available. | |||||