We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8efb739 commit a72f92eCopy full SHA for a72f92e
RavEngine
Samples/Shadows/main.cpp
@@ -67,7 +67,7 @@ struct Level : public RavEngine::World{
67
tri.GetTransform().LocalTranslateDelta(vector3(-1.5, 0.8, 0))
68
.LocalRotateDelta(vector3(deg_to_rad(90), deg_to_rad(90), deg_to_rad(180)))
69
.LocalRotateDelta(vector3(0, deg_to_rad(90), 0));
70
-
+
71
cube = Instantiate<decltype(cube)>();
72
auto cubeMat = New<PBRMaterialInstance>(Material::Manager::Get<PBRMaterial>());
73
cubeMat->SetAlbedoColor({0,0,1,1});
@@ -147,8 +147,8 @@ struct Level : public RavEngine::World{
147
auto pointLight = Instantiate<GameObject>();
148
auto& pLight = pointLight.EmplaceComponent<PointLight>();
149
pLight.debugEnabled = true;
150
- pLight.SetColorRGBA({1,1,1,1});
151
- pLight.SetIntensity(15);
+ pLight.SetColorRGBA({1,0,0,1});
+ pLight.SetIntensity(4);
152
pLight.SetCastsShadows(true);
153
154
constexpr static vector3 spotLightInitialPos{0,3,2};
0 commit comments