enabled hair particle in planar reflection
This commit is contained in:
@@ -371,7 +371,9 @@ namespace wi
|
||||
visibility_reflection.camera = &camera_reflection;
|
||||
visibility_reflection.flags =
|
||||
wi::renderer::Visibility::ALLOW_OBJECTS |
|
||||
wi::renderer::Visibility::ALLOW_EMITTERS
|
||||
wi::renderer::Visibility::ALLOW_EMITTERS |
|
||||
wi::renderer::Visibility::ALLOW_HAIRS |
|
||||
wi::renderer::Visibility::ALLOW_LIGHTS
|
||||
;
|
||||
wi::renderer::UpdateVisibility(visibility_reflection);
|
||||
}
|
||||
@@ -1092,6 +1094,7 @@ namespace wi
|
||||
cmd,
|
||||
wi::renderer::DRAWSCENE_OPAQUE |
|
||||
wi::renderer::DRAWSCENE_IMPOSTOR |
|
||||
wi::renderer::DRAWSCENE_HAIRPARTICLE |
|
||||
wi::renderer::DRAWSCENE_SKIP_PLANAR_REFLECTION_OBJECTS
|
||||
);
|
||||
|
||||
@@ -1176,6 +1179,7 @@ namespace wi
|
||||
cmd,
|
||||
wi::renderer::DRAWSCENE_OPAQUE |
|
||||
wi::renderer::DRAWSCENE_IMPOSTOR |
|
||||
wi::renderer::DRAWSCENE_HAIRPARTICLE |
|
||||
wi::renderer::DRAWSCENE_SKIP_PLANAR_REFLECTION_OBJECTS
|
||||
);
|
||||
wi::renderer::DrawScene(
|
||||
|
||||
@@ -2403,11 +2403,6 @@ void Initialize()
|
||||
void ClearWorld(Scene& scene)
|
||||
{
|
||||
scene.Clear();
|
||||
|
||||
deferredMIPGenLock.lock();
|
||||
deferredMIPGens.clear();
|
||||
deferredMIPGenLock.unlock();
|
||||
|
||||
}
|
||||
|
||||
// Don't store this structure on heap!
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace wi::version
|
||||
// minor features, major updates, breaking compatibility changes
|
||||
const int minor = 71;
|
||||
// minor bug fixes, alterations, refactors, updates
|
||||
const int revision = 304;
|
||||
const int revision = 305;
|
||||
|
||||
const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user