Questions tagged [rendering]

The process of generating an image or series of images from a model by means of computer programming.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

Raycaster rotation problem

I am following lodevs tutorial on Raycasting https://lodev.org/cgtutor/raycasting.html. I was kinda successfull but for some reason while implementing a 2D Topdown view of the map and the player i ...
Atem's user avatar
  • 1
1 vote
1 answer
54 views

How should I bind various types of material data to the ray tracing rendering pipeline in DirectX12?

My problem is a bit complicated. When doing ray tracing rendering, all data in the scene needs to be prepared. In addition to texture resources, each object to be rendered will also have its own ...
AshenvaleZX's user avatar
1 vote
0 answers
40 views

How to Generate a Texture to Make an Obstructing Plane Appear Invisible in a 3D Scene?

I have a 3D scene with a camera. Between the camera and the scene, I have a plane with arbitrary orientation. This plane obscures a portion of the scene from the camera’s perspective (anything behind ...
John's user avatar
  • 111
0 votes
0 answers
46 views

What are the Godot equivalent to these Unity types and Functions for graphics processing?

Here are some unity types in this script: https://github.com/aras-p/UnityGaussianSplatting/blob/main/package/Runtime/GaussianSplatRenderer.cs which I am trying to convert to Godot: ...
Ethan's user avatar
  • 145
0 votes
0 answers
48 views

Do texture arrays bring performance gains

I have a terrain mesh in unity that uses a four-layer texture blend, at first I used a single texture (diffuse and normal), then I converted it to two texture arrays storing diffuse and normal ...
BoomBac's user avatar
0 votes
0 answers
44 views

Transparency on sprite rig using URP to hide sections of sprites based on sorting order in Unity

I've been trying to crack this all day, spent a lot of time experimenting with the stencil buffer and while I was getting some interesting behavior, I was not getting what I intended. I would like to ...
Bjorn The Fire's user avatar
1 vote
0 answers
60 views

Possible to draw isometric tiles with height and moving objects in one pass?

I am working on a isometric tile-based game where the tiles can sometimes have differing heights - representing elevation. I am trying to understand how to order the tiles for drawing when there are ...
lancen's user avatar
  • 31
0 votes
1 answer
112 views

Is instanced rendering any different from indexing seperate buffers using div and mod in the shader?

As far as I can tell instanced rendering is simply a way to separate a single vertex buffer into a buffer for vertex-specific data and instance-specific data. This could be useful for rendering ...
user16217248's user avatar
0 votes
0 answers
49 views

Batch rendering with more textures than texture slots

I'm trying to implement batch rendering for my 2d game engine, and I need to render more than 32 different textures every frame. The first thing that comes to my mind is to sort the vertices by ...
Faby's user avatar
  • 1
0 votes
1 answer
109 views

How to use Camera.cullingMask to selectively render certain objects?

The documentation of this method doesn't provide any examples of implementing it. I don't understand how it works or even how I should use it to only render particular objects while not rendering ...
Nikhil Nair's user avatar
0 votes
1 answer
38 views

Front faces are transparent after setting glEnable(GL_DEPTH_FUNC) and glDepthTest(GL_LEQUAL)

I've been learning OpenGL over the past year or so, and I've never face this issue before, I've been refactoring the old version of my renderer to make it cleaner now that I'm more confident with ...
YamMan's user avatar
  • 49
1 vote
1 answer
102 views

Creating a Renderer class using SFML

I currently have a Renderer class, which as in the example code, looks like this: ...
BOOM's user avatar
  • 11
0 votes
0 answers
161 views

Rendering texture as pure white / filled with color with SDL2

I added a glow or shine effect to make character flash with one color for a short period of time, it looks like this. The code in draw function: ...
SavedowW's user avatar
0 votes
1 answer
149 views

Camera Calibration custom Model-View-Projection matrix in Unity?

Coming from this topic I have a Model-View-Projection Matrix obtained from a Camera Calibration method, from where I want to render the scene: ...
Bontempos's user avatar
0 votes
0 answers
26 views

Babylon.js not rendering scene

I'm very new to Babylon.js and I'm trying to make a simple game with it, but I have a problem: It does not render anything at all. Here's the playground link: https://playground.babylonjs.com/#R7BDW3#...
EarthAndMoon's user avatar
1 vote
0 answers
57 views

Why opengl code in a lib doesn't renderer?

I am experimenting with opengl using c99 on windows and vs 2022 i tried to create an window using glfw in one project and put a function that supposed to generate a texture in another project that is ...
Abn Alsrag's user avatar
1 vote
0 answers
48 views

How to transform correctly shadow cascades?

I think I got the main idea of shadow cascades but I have misunderstanding of transforming shadow cascades using matrices for getting correct a result. I understand it this so Define shadow cascade ...
Andrey Klimenko's user avatar
0 votes
0 answers
19 views

How to set up Unreal camera dimensions to export a book cover?

In the following image, you can see the camera settings of Unreal Engine. Suppose you have a scene. How can I setup the camera dimensions to match perfectly, and ready to export, an Amazon ebook ...
M.N.Raia's user avatar
  • 101
2 votes
1 answer
94 views

How can I make a 2D shader that darkens all sprites not in a certain area?

I was wondering if there was a way to make a 2D shader (or use any other method) to selectively black out areas of the screen that are not in a specific region. I need this shader because in the game ...
dahrasz's user avatar
  • 65
1 vote
2 answers
173 views

Avoid certain parts being modulated by CanvasModulate in Godot 4.1

I'd followed a tutorial on how to make a day and night cycle in Godot 4.1. Basically it consists on a CanvasModulate node that changes color based on a gradient ...
Alex CB's user avatar
  • 376
0 votes
1 answer
81 views

Render and Process loop synchronisation with threads

I am developing an interactive visualizer for a project using Pangolin and OpenGL. The idea is as follows. There are two threads: 1. Render Thread 2. Process Thread - acquire lock and swap ...
Nitron_707's user avatar
0 votes
1 answer
135 views

Recommended approach to image rendering on quads for OpenGL-backed canvas

I am working on a vector graphics rendering library for OpenGL in Rust. Currently, the library's API is as follows: ...
JS4137's user avatar
  • 107
0 votes
0 answers
45 views

ImGui errors when trying to make a game menu

I want to make a simple game menu, but I ran into a problem where ImGui cannot stop rendering and apart from that it throws shader errors. I initialize ImGui in this way: ...
koogel's user avatar
  • 79
0 votes
1 answer
63 views

Texture gets botched when loads in?

I got this weird issue with my block texture,it gets botched after loading the block, the issue though doesn't affect other textures as the the paddle texture gets rendered properly: I tried ...
koogel's user avatar
  • 79
1 vote
1 answer
169 views

Raycast from isometric view without camera position?

I'm trying to cast a ray so I can implement mouse picking. My game uses 2:1 isometric with a 3D world sim that uses AABBs. Positive X points to the bottom right, positive Y points to the bottom left, ...
Archduke's user avatar
2 votes
1 answer
2k views

How to increase Godot render distance?

I've tried changing the viewport far distance under view > settings, from 500 to 500 000 and nothing changes in game. The player can only see roughly 90-120 ...
Cei's user avatar
  • 863
0 votes
0 answers
27 views

How many divisions does the GPU's texture mapper do in parallel?

Perspective-correct texture mapping requires one division per pixel. Before the advent of GPUs this was a problem because this was quite heavy to do on the CPU (especially back in the days of non-SSE ...
Warp's user avatar
  • 171
-1 votes
2 answers
169 views

Is Unreal Engine using Monte Carlo path tracing or similar methods?

Is Unreal Engine using Monte Carlo path tracing or similar methods in which efficient pseudo random number generators are crucial to make their renders? I know it is needed for typical renders, but if ...
Tom's user avatar
  • 101
0 votes
0 answers
30 views

How do phase conjugating mirrors look like in render?

This question might not fit this community standards, so it might be closed in the future. I am interested in physics and I recently learned about phase conjugating mirrors. These are very special, ...
AccidentalTaylorExpansion's user avatar
0 votes
0 answers
44 views

SDL_RENDERER_ACCELERATED not working correctly in Windows

I am developing a 2D tile-based game and I have a series of transparent tiles which I use to simulate a fog of war effect. This seems to work well in Linux but I am having trouble understanding why it ...
lancen's user avatar
  • 31
2 votes
1 answer
85 views

How can I initialize a sprite programmatically in Unity

Hello everyone and thank you so much for your help! I've tried following the answer at Unity 5 2D drawing sprites programmatically but nothing happened. I have a blank screen with just a background ...
TOM's user avatar
  • 41
0 votes
1 answer
165 views

Sending different textures to instanced elements draw call

I'm making a little OpenGL renderer. Currently I use VAOs/VBOs and batch all the entities with the same VAO. I then draw using glDrawElementsInstanced. I am ...
BinarSkugga's user avatar
1 vote
1 answer
414 views

How to create a ScriptableRenderPass that renders normally, with lighting?

What I'm trying to do: Render GameObject(s) of a specific Layer in my custom pass. I want to do something more later, but I'm just trying to get it to render exactly as URP would for now. I'm just ...
danglingPointer's user avatar
0 votes
0 answers
730 views

How to remove flickering white pixels/fireflies from Unreal Engine render

I'm currently rendering an archviz scene in UE5.1 lit by lumen, but I'm struggling to remove these pesky over-bright pixels on areas which are very reflective or metallic: I have tried turning off ...
David Fitzgerald's user avatar
0 votes
0 answers
44 views

Unity DXR Reflections Not Working Properly

When I use RTX powered reflections in Unity HDRP+DXR it reflects a limited distance of non emitting materials, It means if I add emission to the mesh in distance its emission gets reflected but still ...
Cyclone's user avatar
  • 31
0 votes
0 answers
49 views

How to render using Mesh Component and Transformation Component in Entity Component System

I was developing a game engine using DirectX11. You want to use the Entity Component System (ECS) in your existing method OOP. By the way, I have a question about the rendering system of ECS. I was ...
tot4766's user avatar
0 votes
1 answer
53 views

Rendering 3D Scene Without PBR heedlessly

I am a beginner in computer graphics so I might have some terminological errors in my question. For an art project, I have a scene of modified planes with textures on them. The textures are taken from ...
Toprak's user avatar
  • 3
0 votes
1 answer
153 views

What is the advantage of using Element Buffer Objects, if any?

I'm following the amazing LearnOpenGL tutorials and noticed that Element Buffer Objects, which were mentioned and used in the Hello Triangle chapter, never appear again. So my question is, is using ...
Logan Bentley's user avatar
2 votes
1 answer
379 views

How to use "Debanding" option to prevent color banding in a gradient TextureRect?

I want to have a Godot 4.0 TextureRect background with a linear gradient from #18181b to ...
Jeroen's user avatar
  • 545
1 vote
1 answer
77 views

Is it better to cut floor polygons where they're hidden under objects?

I have a floor that's interrupted by several objects sitting on top: Would it be better for performance to let the floor polygons extend straight through the footprints of these objects? Or should I ...
wuqs's user avatar
  • 13
1 vote
0 answers
28 views

WebGL 2.0: Attaching a shader object to a game object

I'm making a 2d game engine using Java Script and WebGL, both of which I am new to, and was wondering if it was a good idea to use a shader object to initialize the fragment and vertex shader and then ...
Myrkgard's user avatar
0 votes
0 answers
62 views

How can I make the water in Unreal Engine 5 clearer so that the rocks underneath are more visible?

I'm trying to make the water in my Unreal Engine 5 project look clearer so that the rocks underneath are more visible. I've attached two images, one is the current look of my water and the other is ...
Antreas Alexandrou's user avatar
1 vote
1 answer
89 views

How to render picture-in-picture effect with libGDX camera

libGDX cameras are mostly used for layered rendering with different "world unit size," but I wonder is there a way of showing the view of for example a libGDX Orthographic camera in the ...
CallOfVoid's user avatar
2 votes
1 answer
146 views

Dealing with block corners in a grid-based raycaster

I'm trying to build a simple grid-based raycaster, but I'm having trouble with rendering block corners. First of all, I want to change the color of all the y-axis walls. But a block's corner belongs ...
user avatar
0 votes
0 answers
134 views

Valve Hammer Editor error message: "The system cannot find the file specified." How do i solve that problem?

i learned how to make maps, but the compiler can't compile the map. I read some online posts, it seems the problems comes from "brushes" and "leaks", things i don't know what they ...
onaquest64's user avatar
0 votes
2 answers
259 views

Raster Graphics vs Vector graphics

There was this game that I used to play when I was a kid. It's named Another World. It was ahead of its time in graphics, it even has real-time cutscenes on the SNES version. That game does not use ...
Eduardo Procópio Gomez's user avatar
13 votes
2 answers
3k views

How to make backface culling work correctly in both orthographic and perspective projection?

I have a software renderer that I've been building. I just implemented backface culling with the Go code below. This works with Perspective Projection. But I plan to use orthographic projection. When ...
Adam P's user avatar
  • 233
1 vote
0 answers
42 views

How to reduce required memory when collecting cells in a portal engine that represent open areas?

My engine is based on Cells and Portals. From the Current Cell, I traverse the portals recursively. While doing so, I cache the clipping rect. When rendering the cells, I use the cached clipping rect ...
Raildex's user avatar
  • 703
0 votes
0 answers
42 views

Resample image of sphere to match appearance of rotation

I am rendering sphere to a texture. Now, I have screen space texture, and I need to offset this texture based on screen space movement (dx, dy) and render it to a new texture. For example, the left is ...
Martin Perry's user avatar
  • 1,106
0 votes
0 answers
157 views

How to replicate the dynamic LOD system for characters from Messiah (2000) in Unity?

I watched this video on youtube and got really curious about replicating the "character system" that it covers. This article linked in the video description goes into further detail on the ...
haloplayer2003's user avatar

1
2 3 4 5
26