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
1
vote
1answer
460 views

dx11 Rendering to target texture shows only clearcolor(ImGUI-Custom Game Engine)

Im trying to create a game view for my game engine using ImGui framework,however when i try to render texture,there is only clear color displayed on the screen. My plan Creating Render Target ...
0
votes
1answer
55 views

Performance of Tristrip vs Indexed Triangles in OpenGL

Let's say that I want to take advantage of GPU transform cache and use tristrips for that purpose. In the first case we have three triangles: 012, 213, 234. In the second case we used tristrip ...
1
vote
1answer
65 views

How do 3D rendering pipelines render light effects?

How does 3D software like Blender, Maya, Unity, or Houidini etc. render the effects of lights illuminating a 3D scene?
1
vote
0answers
279 views

Post processing effects not visible on mobile apk build

While setting up post processing on a project that I am currently working on, I discovered that post processing effects are not visible on the apk build on mobile. I setup a new Project with URP on ...
1
vote
0answers
147 views

Why do we get artifacts on objects rendered using depth node + depth render camera on Android?

I've encountered and error I can't seem to find online. I get it on all the water shaders I test, and any thing else that I have a depth node + depth render script on the camera for. I'll share a bit ...
1
vote
0answers
48 views

Manual per-glyph rendering with SDL_TTF

I'm trying to create a font atlas with SDL_TTF. My idea was to create an SDL_Surface for every character using ...
0
votes
0answers
22 views

Model rendering issues

I have a problem with my built apk game: On some mobile devices, the models are either invisible(not rendered) or huge while it is perfect on other devices. This happens only to the models on my game, ...
0
votes
1answer
241 views

Unity generates bad mipmap, making voxel terrains look bad

It's just a dirt terrain with grass blocks on the top. (which are just dirt blocks with green tops.) I sampled a Unity terrain's heightmap, and constructed a voxel terrain based on it, and divided it ...
0
votes
0answers
35 views

How do I get HDRP render enabled so that the shader graph will work

I'm using Unity 2019.2.17 personal, and I imported the shader graph package and created a pbr shader graph. I get a warning: the render pipeline is not compatible with the master node. I assume it ...
0
votes
0answers
27 views

Shader Only Renders In Left Eye of Head Mounted Displays

I followed a tutorial for creating a geometric grass shader, and the shader works fine. However, when using my Samsung Odyssey+ HMD to view the scene during play mode, the only eye that can see the ...
1
vote
2answers
160 views

How to use an array of y values to render a 2D top-down Java game?

I'm fairly new to the world of coding, and there's probably a simple solution here. I made this array (the actual one is more complex since it includes everything I have so far) for the y values of ...
0
votes
0answers
33 views

Per-frame buffer management in DirectX 11

My buffer management when using the Metal API had me use a per-frame buffer cache to manage the buffers that were still in flight and could not be used. The Metal API is very explicit about when a ...
0
votes
0answers
16 views

Low resolution RenderTexture with gradients

I have a small RenderTexture that stretched on large object, so texels is near 0.3 of unit. Source for this texture has much more resolution and with gradients. If source little bit changes its ...
2
votes
2answers
267 views

How do game engines implement multiple rendering platforms?

How do game engines like UE4, Unity, Source, Cry Engine, etc add different rendering library's to their game engines? (Eg. OpenGL, DirectX, Vulkan)
1
vote
2answers
69 views

Problem with rendering a quad from four lines

I am having a problem with rendering a quad in opengl via 4 lines (5 vertices via GL_LINE_STRIP). The rendering is generally working fine in terms of connecting the lines into a quad. The problem is, ...
1
vote
3answers
555 views

Is there a difference between using one large mesh with 100k polygons and using 1000 meshes with 100 polygons each?

I'm planning on creating a first-person shooter for mobile. Now I know that fps games usually have a lot of meshes in the scene (trees, buildings, terrains, etc.). So I've been looking at a lot of ...
1
vote
0answers
59 views

OpenGL streching up geometry

I'm developping my own game engine in C++/OpenGL 3 but I've got some troubles with my geometry. Indeed, when I render something everything is weirdly streched up : By tweaking scale values we can see ...
1
vote
1answer
247 views

C++ SDL2:2D tilemap with every tile has its own behavior

I am working on 2D tile based game. I want to render the tilemap from a file but every tile has its own behavior for example: magmablock : poorlava(); slimeblock : knockback(); I have this ...
0
votes
1answer
104 views

How to load large arrays to gpu and render with OpenGL?

I am trying to make a volumetric rendering of a cloud. I have been defining the cloud density functions on the glsl shaders and performing ray-marching methods successfully. But now I would like to ...
0
votes
1answer
326 views

How to pass renderer through classes?

I am making a game with SDL and C++. I am trying to render simple image to the screen but I can't. I am not getting any error but I see only black screen. I think because the renderer in ...
0
votes
1answer
74 views

Only one triangle drawn

I am trying to render a quad with gl render mode GL_TRIANGLES with using element array buffer. Here is some code to explain process. Only the first 3 elements of indices array are drawn as expected. ...
0
votes
0answers
39 views

Confused on graphics rendering

Implementing a viewport is just a rectangular space on the back buffer usually a 2d texture set to the size of the client window that we render to. However in direct3d when we describe the viewport ...
0
votes
1answer
127 views

Unity: White outline around seams in my character, make it stop!

so once upon a time I made a really cool character for my game project and he looked great. Then at some unspecific point in time, my character's UV seams got these awful white outlines around them: ...
1
vote
1answer
127 views

RayCasting with Mode7

I'm trying to join the mode7 algorithm with RayCasting. For mode7, I'm using a simple rotation matrix to implement the rotation. The result is a little strange and I can't fix it. Do you know what is ...
0
votes
0answers
29 views

Blurred sprite in Scene view

The thread between the tree and the spider here is a LineRenderer. When the BackgroundLandscape or the ...
0
votes
0answers
56 views

RayCasting picture noise render method

I'm creating a RayCasting tutorial on github (click here to access it) and I'm following a lot of tutorials, implementations and other render methods in the web. One game made with it is the "Prelude ...
0
votes
1answer
26 views

How to access random material in a renderer besides first without cloning any materials except accessed one?

Clones only first material: renderer.material Clones all materials in the same renderer: renderer.materials[0]
3
votes
1answer
193 views

How to draw a string into a polygon? (Libgdx, Java)

I am working on a 2D grand strategy game (like Hearts of Iron from Paradox but as I said only 2D game) and I would like to render the area names on the map. I made the Polygons for each area. How can ...
0
votes
0answers
34 views

How to add ambiant occlusion to a mesh created by script

We created a mesh point by point with a script (a huge mesh), and we would like to add ambiant occlusion to this mesh. We use Unity 2019.1.6 and the LWRP template. we already tested the unity ambiant ...
0
votes
1answer
389 views

How to make a world map from image like in paradox games? (Java, LibGDX)

I'm working on a grand strategy game similar to those made by Paradox Game Studios with their Clausewitz engine. I'm trying to create the world map from an image. On that you can see the areas, and ...
3
votes
0answers
2k views

Unity LWRP alternatives for camera stacking

I am working on upgrading a project in unity from a 2018 version to the latest 2019. One of the mechanics of the game is an AR (augmented reality) system. Some of the UI elements appear in the 3D ...
0
votes
1answer
134 views

Graphic render speed in libgdx using many sprite sheets

I am currently working on a customizable Player-character for my top down view 2D pixel game. I am using libgdx and aiming for android devices as well as desktop applications. I am wondering about an ...
1
vote
0answers
36 views

Techniques to mitigate microstuttering when the FPS is above 60fps and vsync is off

The problem with first person shooters is that your input is important, and coupling it with VSync ruins it. The following frames per second data when rendering with OpenGL shows: 60-100 fps: ...
1
vote
2answers
715 views

Unity particles rendering on top of camera space UI

I'm using LWRP in Unity 2019.1.12f1. The UI is in Screen Space - Camera. The shader used for the particles is Lightweight Render Pipeline/Particles/Unlit (Transparent, Premultiply). Any ideas?
0
votes
1answer
34 views

3D title Rendering in Maya For babylon Js Game Engine

I created a 3D title in Maya and applied color through Lambertian shading and rendering with mental ray. The problem is when the title is rendered in the game engine, it is looking very sad. The ...
0
votes
2answers
508 views

Implementing a main loop with rendering in a Windows Desktop Application

I'm writing the beginnings of a small game engine in Visual C++. What I have so far doesn't seem to be updating the rendering each frame, but I don't understand where I'm going wrong with it. The ...
1
vote
1answer
82 views

Unity - How to tell which objects in scene are creating the most triangles?

I have been working on a game and every time a player prefab is instantiated, it creates 1M+ triangles. That is a nightmare considering the model itself is not even close to 1M. The only thing on the ...
2
votes
2answers
342 views

How do I render text in a view in SFML 2.5.1 without artifacts?

I'm using the following code to render text in a letterboxed view. ...
0
votes
1answer
36 views

(Tiled) Background stops being rendered in libGDX

I'm using Tiled and I created my background as an image in a Tile Layer. When I load the map in LibGDX, it shows fine. However when the camera moves, the whole background dissapears. The problem is ...
0
votes
0answers
703 views

Unity “Convert To Entity” does not work (Render) with “Skinned Mesh Renderer” for Animations

I'm trying to make a game with Unity's ECS and Job System. I came across the issue where, Convert To Entity does not support Skinned Mesh Renderer. It does not render the mesh. I need it for ...
1
vote
0answers
123 views

Modify Unity's New 2D Renderer for the Lighweight Render Pipeline

I would like to use the new 2D renderer available with the LWRP to take advantage of the 2D lights. I would also like to replicate the things in this video - basically, I want my character to be ...
2
votes
1answer
3k views

How can I update my materials to work with LWRP?

I'm using Unity 2019.1.6f1. When I open a new scene with the LWRP template project, I see errors from all materials in the scene. For example, the Jigsaw appears in my scene but in console window I ...
2
votes
1answer
234 views

How do I correctly show both sides of a plane in Unity?

I am trying to show both sides of a mesh. I understand this question has been asked a lot, but all of the answers I've found seem like they're written for Unity 5 and I can't find a "Cull" setting on ...
0
votes
1answer
57 views

Why is integer value not updating as a text?

I have a space shooter game and I am trying to create a shield power for the player ship. My mechanic for shield is working. When I press the shield power button(P), the shield power decreases from ...
0
votes
1answer
83 views

Rendering Problems(Artifacts, Flickering) with the Mirage Solo VR Headset

Im getting some strange flickering artifacts when testing on device (Mirage solo), this problem occurs on Unity 2018.3.2 and Unity 2019.1.2. Its not happening on other devices such as the OculusGo, ...
1
vote
1answer
308 views

Why are my screenshots created through a RenderTexture too small?

Current render result: When I am rendering image in Unity and saving as file(.png), quality of those files are reduced. They become tiny and very poor. How can I enhance that? Dimension of the ...
0
votes
0answers
64 views

How to fx low FPS in a single threaded Directx9 3D game

We're having issues with low FPS in a third-person shooter 3D game. This happens when you have too many polygons on screen. The FPS is locked to 60, and the gameplay is fine, but the moment when you ...
0
votes
1answer
36 views

Unity - Set/Manipulate Render-Buffer for “Render Overlay Effects”

Note This is more of a question on how/where to do furhter research into this topic becasue I do not know anything about it yet. If anyone has answers on how to accomplish this goal, I'd very much ...
0
votes
1answer
228 views

SDL2 doesn't render a window

A tutorial's code from LazyFoo wonderful place's 01_hello_SDL page doesn't show a white form, but a desktop's screen, like a screenshot. Something like: The code: ...
1
vote
2answers
82 views

Displaying pixels on a canvas at 60 hertz [closed]

I'm (new to SO and) attempting to code an "emulator" for an 8-bit CPU I am making with a friend. I have only ever used Java to make simple GUIs with Swing, and from reading similar questions it seems ...

1 2
3
4 5
23