All Activity
- Today
-
How to save depth with object rendered with extra camera?
Dreikblack replied to Dreikblack's topic in Programming
-
How to save depth with object rendered with extra camera?
Dreikblack replied to Dreikblack's topic in Programming
But it will be visible for main camera as well because second camera render target to sprite that visible in final render so skybox will be visible in a result at all, not just for second camera. -
How to save depth with object rendered with extra camera?
Josh replied to Dreikblack's topic in Programming
-
How to save depth with object rendered with extra camera?
Dreikblack replied to Dreikblack's topic in Programming
How it can be behind other objects if it should be in front of the camera? Thats what i do for my intended objects and this camera does SetRenderTarget so everything is visible in this layer in final render -
How to save depth with object rendered with extra camera?
Josh replied to Dreikblack's topic in Programming
Place it behind the other objects, and use the renderlayer so it only appears in one camera. -
Josh started following Weekend Workshop #21
-
How to save depth with object rendered with extra camera?
Dreikblack replied to Dreikblack's topic in Programming
How it can be done if this camera render to sprite everything that it can see? -
How to save depth with object rendered with extra camera?
Josh replied to Dreikblack's topic in Programming
You could also put a very large black plane in front of the camera to block to sky out, and make it only appear in the second camera. -
How to save depth with object rendered with extra camera?
Josh replied to Dreikblack's topic in Programming
I don't know. -
How to save depth with object rendered with extra camera?
Dreikblack replied to Dreikblack's topic in Programming
Estimated time when such method will be added? -
0.9.6 Some glTF animations will work better now in the model editor. I am looking for a tool to reset the bind poses. Bind poses are one of the stupidest "features" I have ever seen in any model format.
-
Yue started following Sky Box Realism.
-
Does anyone have experience with node.js? I am interested in trying this tool on some glTF files: https://gltf-transform.dev/modules/functions/functions/flatten I have never worked with this before and learning for the first time seems like a big investment for something that probably won't work.
- Yesterday
-
starry joined the community
-
Josh started following Weekend Workshop #20
-
Barnie5 joined the community
-
SpiderPig started following Directional Light can't turn off shadows and Directional Light quality not changing
-
These functions don't appear to have any effect on the shadows. I set them to 0 and nothing changes. light->SetShadowCascadeDistance(0); light->SetShadowSamples(0); But I don't know exactly what they should do... I want to reduce the shadow distance / quality somehow as a graphics option in game.
-
This code won't stop the light from casting shadows. #include "Engine.h" #include "ComponentSystem.h" using namespace UltraEngine; int main(int argc, const char* argv[]) { auto displays = GetDisplays(); auto window = CreateWindow("Ultra Engine", 0, 0, 1280, 720, displays[0], WINDOW_CENTER | WINDOW_TITLEBAR); auto world = CreateWorld(); auto framebuffer = CreateFramebuffer(window); auto camera = CreateCamera(world); camera->SetClearColor(0.125); camera->SetFov(70); camera->SetPosition(0, 10, -5); camera->AddComponent<CameraControls>(); auto light = CreateDirectionalLight(world); light->SetRotation(35, 45, 0); light->SetShadows(false); auto floor = CreatePlane(world, 100, 100); auto cube = CreateBox(world); cube->Move(0, 2, 0); camera->SetPosition(0.0f, 2.0f, -3.0f); while (window->Closed() == false and window->KeyDown(KEY_ESCAPE) == false) { world->Update(); world->Render(framebuffer); } return 0; }
-
ghost9000 joined the community
-
Yue started following LoadPackage() Crashing and Cube Map to PBR.
-
Your signature says 16 GB is that correct? This is caused by either not enough memory, or memory fragmentation. There's probably not much I can do about it.
-
0.9.6 Improved support for legacy MDL file format exported from Unwrap3D.
-
Or user name uses non-latin symbols
-
I have error "vector subscript out of range" now with SetUniform (Steam, beta branch)
-
Windows 10. GTX 1070 8 Gigas VRAM. CPU I7 2600 24 Ram.
-
How to save depth with object rendered with extra camera?
Dreikblack replied to Dreikblack's topic in Programming
I guess no such setting exist atm? -
SpiderPig started following LoadPackage() Crashing
-
@Yue and I have been discussing on discord about why my game does not load packages on his PC. On my PC and several others who have run my game it works as it should. The game states that it is loading the package then it will crash. This occurs for both password protected and non password protected zip files. Writing an example for this is extremely hard as It's only happening on his PC. The only thing that we can see what is different is that his Windows PC is in Spanish. Could that be effecting something? @Yue Can you please post your system specs here for Josh?
-
How to save depth with object rendered with extra camera?
Josh replied to Dreikblack's topic in Programming
Oh, I see. The fog is turning the sprite color black, and then that gets overlaid on top of the screen, right? I did not have any of these problems in my outline shader because I just used the depth buffer to decide whether the output should be white or black. But you are passing through the color buffer so that is more complicated. Maybe the only way is a per-camera setting to disable the skybox if it has been set.