r_lightmap functionality.
This commit is contained in:
parent
2ed689cc30
commit
a57c8382b1
|
|
@ -813,6 +813,9 @@ static void RB_IterateStagesGeneric( shaderCommands_t *input )
|
||||||
depth_range = Vk_Depth_Range::normal;
|
depth_range = Vk_Depth_Range::normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (r_lightmap->integer && multitexture)
|
||||||
|
GL_Bind(tr.whiteImage); // replace diffuse texture with a white one thus effectively render only lightmap
|
||||||
|
|
||||||
vk_shade_geometry(pipeline, multitexture, depth_range);
|
vk_shade_geometry(pipeline, multitexture, depth_range);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user