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
1answer
43 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
0answers
31 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
22 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
26 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
23 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]
0
votes
0answers
23 views

How to improve Antialiasing on Unity WebGL?

I have a problem with the render in WebGL. On the Unity Editor or Standalone the builds looks perfectly fine but on WebGl builds the image generate this white dots. I have a "DirectionalLight" and a ...
2
votes
1answer
58 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
26 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
86 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 ...
0
votes
0answers
30 views

How to handle latency in a pipelined rendering architecture

I've currently got a pipelined rendering architecture based on OpenGL, with three pipeline stages. First stage is that my main game loop generates OpenGL commands for a frame, but buffers them rather ...
1
vote
0answers
298 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
30 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
27 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
1answer
79 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
22 views

3D title Rendering in Maya For babylon Js Game Engine

I created a 3D title in Maya and applied color through lambert and rendering with mental ray. Problem is when the coder is rendered in the game engine, it is looking very sad. The colors are faded ...
0
votes
2answers
115 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
54 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 ...
1
vote
2answers
72 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
25 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
145 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
53 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 ...
1
vote
1answer
177 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
50 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
51 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
31 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
70 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
71 views

Shadow problems with Unity's Lightweight Render Pipeline

So I installed the Lightweight Render Pipeline onto an existing project of mine and the placeholder model I've been using for the player (the broom) started showing a hole in its shadow. I don't ...
0
votes
0answers
43 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
21 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
61 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
60 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 ...
0
votes
0answers
42 views

How do i update opengl lightning equation in my fragment shader to make my texture less glossy and more like a fabric

I built a model in blender, and am currently trying to import it into my android app using assimp together with opengl, i dont have any issues with the importing but my goal is to make the object look ...
1
vote
1answer
38 views

How can I draw lines and curves on a canvas that's not rendered?

I need to draw lines and curves on a canvas that is not rendered on the screen but just updates the array of pixels that would otherwise be rendered. I need this to separate my game engine from my ...
0
votes
0answers
47 views

How to reproduce examples from ShaderToy on my computer?

I am a beginner with computer graphics. I have some experience with drawing polygons, shaded surfaces, the use of geometry shaders, etc. I am trying to create a volumetric cloud/volume render shader ...
3
votes
3answers
251 views

How to render top-down perspective in a tile-based RPG?

My question is specifically about the type of perspective that GBA Pokemon games like Fire Red/Leaf Green have: I'm not sure of the correct terms for what I'm trying to achieve. I am using SDL2 and ...
3
votes
1answer
297 views

Octahedral impostors, Octahedral mapping

I'm facing some issues understanding this article about octahedral impostors. More specifically I quite don't understand how one can map the hemi-octahedron (subdivided) vertices to texture ...
0
votes
0answers
45 views

Looks like render in Unity ( Light Shaft on Particles etc.)

guys, i hope someone can help me, i want to get a looks like rendering, like a screen, i can buy Aura 2 and use volumetric light to have affect on Fireflies, and make a light shaft / good ray? The ...
1
vote
1answer
92 views

Video feedback effect with recursive RenderTextures in Unity 2018.3

I have a project where I'm playing with a video feedback effect by rendering a camera to a RenderTexture and pointing the camera at a quad displaying that RenderTexture. This works great normally, ...
1
vote
1answer
472 views

Black screen when building apk Unity

Alright, I have a bit of a confession to make: I accidentally posted this question in the wrong place: Stack Overflow. Whoops. Anyway, here's my problem. Sorry if you've seen this before. Here's the ...
1
vote
0answers
40 views

The gist of tweening with WebGL / OpenGL

I am trying to wrap my head around how to take advantage of shaders for things like tweening. For example, there are these simple easing equations, which we can use like this: ...
1
vote
2answers
79 views

Binary space partitioning with floor as an object

I have a conceptual problem. The problems comes with the floor I'm rendering and the count of objects. The idea was to reduce rendering with BSP implementation, but the problem that I hit was that the ...
0
votes
0answers
81 views

How would I create a shadowy “Fog of War” effect in Game Maker Studio 2?

You know if you ever played "StarCraft," as you explore the map it's dark until you go to that area. I am trying to replicate this effect in Gamemaker studio 2. I want to create a shadowed area ...
3
votes
1answer
145 views

Randomizing material across meshes - UE4

I have multiple instances of the same mesh which is using the same material. While looking for randomizing textures, I came across texture bombing and so the material in 1 wall looks fairly random. ...
1
vote
1answer
83 views

How do I make sure everyone sees the same distance across different resolutions?

Hello game dev community. I have recently got into making games in a browser window, and me and a friend ran into a common problem. Let's say I have a game like diep.io, where users can control their ...
0
votes
0answers
88 views

Where to create the vertex buffers?

Please note that this is purely an architectural/design question. And sorry for the long post, there are a lot of "thinking out loud" here. I'm working on a simple graphics engine (as a universtiy ...
0
votes
1answer
112 views

How should rendering be structured using SDL?

This question is probably well documented but I can't find any resources. Basically I'm not sure how to structure rendering with SDL in my code. I made a render class which calls the api and the ...
1
vote
0answers
68 views

How to lower the cost of realtime lights?

Besides Deferred rendering, what can I do to make realtime lights cheaper to render? I don't really need them but I could make good use of them in my game. BTW I thought Deferred render would give me ...
1
vote
1answer
134 views

How much slower is it to draw on “half pixels”?

I've noticed that games like Diep.io are using floating decimal points for thin stroke lines on the grid. I have even tried this myself, by adding 0.5 to all of the ...
1
vote
1answer
320 views

How to write a PBR Unlit Shader in Unity?

I have a REALLY specific case here: I have an Texture (a webcam), that is used by a shader to pickup a few x,y colors at the cordinates, and renders to a ...
3
votes
1answer
344 views

SDL render surface from byte array efficiently

In my current project I need to fill a 256x224 screen with the pixel values from an array. The array is declared this way: uint8_t *vram = new uint8_t[7168]; So ...