Questions tagged [rendering]
The process of generating an image or series of images from a model by means of computer programming.
1,305 questions
0
votes
1
answer
156
views
Is it okay to update the graphical handlers in the same function where you render them?
I have a class called 'GraphicalHandler' that all my graphical handlers inherit from the main game loop.
The class manages a static vector of pointers to all instances of itself. I can then call the ...
0
votes
0
answers
76
views
Render order in 3/4 view game
I'm writing a 2D game with an internal 3D space. The view is 3/4 view. I've run into trouble with the render order of entites.
Context: The world uses a tile system, like a 3 dimensional lattice, each ...
2
votes
1
answer
2k
views
How to manually render with a given camera in Unreal Engine 4?
I would like to render with any camera at any given time for a Portal clone project.
There's a USceneCaptureComponent2D but it renders the whole scene to a texture.
...
0
votes
1
answer
200
views
Vulkan dynamic UBO weird numbers
Why these numbers??
I have created a dynamic ubo and two objects, one for view and proj and the other for model.
Here I update the objects:
...
0
votes
0
answers
76
views
Are there drawbacks to resizing mesh renderer bounds?
I had a problem yesterday where some of the meshes were not visible. I figured out the problem, which was that the mesh renderer bounds were not in the cameras field of view.
So, in order to make the ...
0
votes
0
answers
210
views
Implementing DirectX 7 light attenuation in Unity's Universal Render Pipeline
I am create a modern Unity based client of an old MMO from 2000, and I am working on implementing their lighting system. Based on the data I have reverse engineered, it looks like they used a custom ...
1
vote
0
answers
453
views
OpenGL model not rendering properly
I have been playing with OpenGL for a while and I came into the wall that I don't know how to pass. I am trying to render a model of an object based on a .obj file. In that file I have position ...
0
votes
1
answer
2k
views
My pixel art looks weird in the game view in Unity [duplicate]
I am making my first 2D game in Unity and something has been bothering me. If I'm in the scene view, my game looks fine but when I go to the game view the pixels in the sprites aren't rendered ...
1
vote
1
answer
3k
views
How do I fix missing anti-aliasing in the Unity scene view and game?
Both the editor and the game seem to lack anti-aliasing even though quality is set to Ultra.
I chose the "3D" project template when I created the project, so I am using the build-in render ...
0
votes
0
answers
181
views
Questions about "stateless, layered multi-threaded rendering"
I have read this blog:
https://blog.molecular-matters.com/2014/12/16/stateless-layered-multi-threaded-rendering-part-3-api-design-details/
Where does a setup like this bind textures/buffers and does ...
0
votes
2
answers
380
views
what C++ library is this project using to render? [closed]
I was looking at this library https://github.com/blend2d/blend2d .It does not use gl , glut of glfw.How is it rendering?
1
vote
2
answers
404
views
OpenGL only rendering 4 tris of cube?
I'm on Win10, OpenGL 4.5
I wrote some code that takes mesh data from an OBJ file and puts it into a vertex buffer. I used this code to import a cube OBJ and render it in OpenGL. For some reason, ...
0
votes
0
answers
98
views
Rendering a textured 3D cube in R
I am trying to render a 3D cube in the R programming language, and add a texture to each cube face.
So far I have this code that draws the cube:
...
0
votes
1
answer
931
views
How to fix lag in 64 bit Android devices
My game's FPS drops to 30 - 8 FPS on any 64 bit Android device but is at 59 - 60 FPS on an even lesser 32 bit Android device.
I've tried unchecking Development Build on Build settings and I've tried ...
2
votes
1
answer
355
views
Why does my game look different on my mobile device than in the editor?
I am new to Unreal Engine. My game in mobile looks totally different than in Unreal Engine editor.
In Editor:
In Mobile:
Is this a symptom of something obvious? How can I make it so that what I'll see ...
2
votes
2
answers
368
views
How to make player seem bigger / world smaller, without changing world coordinates
I am making a voxel game with OpenGl, I've got the major parts working, except the camera seems small compared to the the blocks.
How do I make the camera bigger?
Do I do a scaling on the model ...
0
votes
2
answers
205
views
Component Class / Renderer Class [closed]
I found some code I needed online, but I want to understand how it works.
Renderer c = (Renderer)b; What is this (Renderer)b ...
0
votes
1
answer
375
views
Weird black lines when rendering in my Java Game Engine
I have an issue regarding weird horizontal and vertical lines that occur in my game engine. The lines is in the background color. It occurs when I draw a lot of tiles in this way:
...
0
votes
0
answers
683
views
Multiple planar reflections works weird in UE4
When I add multiple planar reflections for arch-viz, some of them on glasses don't have any result, but ones on mirror works properly.
Sometimes all the planar reflections on glass are invalid. But ...
0
votes
0
answers
612
views
How to free up TEXCOORD slots for Unity's Universal Render Pipeline?
I am writing custom a custom shader for Unity's Universal Render Pipeline (Version 7.3.1). The meshes are built using three separate UVMaps for different portions of the mesh. The reason I actually ...
0
votes
1
answer
65
views
Android Game - Screen Flickers When an Entity Removed From The List
I am using Canvas in my android game. When I remove a no longer displayed entity in my entity list, all other entities are flickering for a brief time. When it's not removed, there is no such problem. ...
0
votes
1
answer
82
views
Utilize remote PC to Boost UE4 Editor Performance
As the title suggests, I would like to know how I can take advantage of a desktop PC at my workplace to help boost the performance of the editor on my laptop at home.
General editor actions such as ...
0
votes
1
answer
2k
views
What's wrong with my planar reflection?
At some angle my mirror with planar reflection shows this result. Looks like it mix with the sphere reflection capture.
How to fix it?
3
votes
2
answers
8k
views
How can I display a 3d object and my player on a canvas?
The main goal is to animate my player with animator on a canvas.
The problem is that any 3d object (my player, a cube) I drag over the canvas is transparent/not seen.
The main camera is set to Clear ...
1
vote
2
answers
8k
views
Render hands and gun in front of everything
I'm currently learning about Unreal Engine 4 by making an FPS game.
How can I render the player character's hands and gun on top of everything?
Currently when I walk up to a wall, the hands and gun ...
1
vote
1
answer
211
views
Is there a way to normalize for both ways in Unity?
I have a building, built in blender, that has been imported to Unity. And I flipped every necessary piece and calculated the normals inside in blender. However, since I made the rooms inside the ...
2
votes
3
answers
766
views
How to render thin glass with proper refraction?
I want to render thin bumpy glass with refraction. But it offsets too much(look at the black frame of the glass). Looks thick.
How to do thin glass refraction properly? Or is it possible to exclude ...
1
vote
2
answers
807
views
Unity XR Spectator Camera
I would like to have a VR camera (for the player) but also have another camera (spectator).
I am using Unity 2019.4.8f1 on the Universal Render Pipeline
I have only been able to find outdated articles:...
3
votes
1
answer
1k
views
Unity higher Z position tiles rendered underneath
When placing tiles in an isometric tile-map in Unity, I try to place blocks on top using the "Z Position Value" However it looks like higher Z position values get rendered underneath.
In ...
0
votes
0
answers
57
views
Unity Applying Global Light Settings fog to a non-main camera
Is it possible to apply fog to a non-main camera?
0
votes
0
answers
78
views
DIY hologram experiments split screen
I am currently experimenting with the DIY holograms. Does anyone know to split my windows into 4 perpendicular identical displays like this but for Windows?
I am using Unreal Engine & I want it to ...
0
votes
1
answer
564
views
How can I make a custom mesh class in Unity?
I'm doing something in Unity where I need to specify the position and orientation of vertices with two Vector4s, and they're not just position and normal vectors. I'...
0
votes
1
answer
2k
views
Sprites don't become lit when installing Universal RP package
I want to implement 2D lights in Unity. So, I downloaded the Universal RP package from the Package Manager.
I created renderers as shown here, then I created a light object (Point Light 2D) in a new ...
1
vote
1
answer
112
views
Drawing a line between 2 vectors
I was trying to implement a simple mechanic by drawing a line between the sprite and the mouse, but it's not working that well:
...
1
vote
1
answer
1k
views
Entity component system: how and where store pointers to system resources or third-party lib's objects?
I'm migrating my game pet-project to ECS. I use C# (custom-made engine, not Unity). It goes pretty well, but one big thing is making me worry.
This is how and where to store pointers to system ...
0
votes
2
answers
146
views
Have both Cubemaps and TextureArray in a single texture register?
I want to have both Point Lights, aswell as Spot Lights.
For the Point Lights I have a TextureCubeArray and for the Spot Lights I have a Texture2DArray. Is it possible to combine these two into a ...
3
votes
1
answer
1k
views
Forward Shading with multiple shadow-casting lights
I am currently thinking about how to organize shadowing and lighting.
We use forward rendering and currently, our algorithm looks like this:
collect all items that are visible in the view
for each ...
2
votes
0
answers
102
views
Deforming a lip mesh to match face-tracking points
I'm creating a lipstick filter. I have a basic mesh for the lip shape ( 140 vertices ) which I am able to render on screen.
I need the mesh since I have my own lighting system, and hence need the ...
1
vote
1
answer
171
views
How to use WorldToScreenPoint function in a texture context?
I am rendering a scene into a RenderTexture and I have a set of 3D points. I want to convert these points from 3D to texture coordinate frame. It worked, when I rendered into screen and used ...
1
vote
2
answers
649
views
How can I create character graphics similar to Valkyrie Profile?
I want to create a game with the character graphics similar to Valkyrie Profile.
I don't know whether I should make my game character sprites pre-rendered or hand drawn, or which technique would let ...
0
votes
1
answer
367
views
Camera stacking for first-person view weapon in Universal Render Pipeline
I just added URP to my project then upgraded the materials to URP and now it's not rendering the environment anymore
I found the problem is that I have 2 cameras which are stacking on each other: one ...
0
votes
0
answers
145
views
Unity gizmos with custom renderer
Im working on a small project to learn the basics of post-processing, shaders and other effects in Unity.
My project is in 2D, so I followed this Brackey's tutorial and this tutorial. The bloom effect ...
0
votes
1
answer
2k
views
How do I get current emission intensity of a material in code?
I'm unable to find how can I get current intensity level of emission in Unity.
Is there some kind of method that can return its value?
I need it to complete my algorithm's formula:
...
1
vote
1
answer
875
views
How to sort polygons without a depth buffer
Please help me getting understanding how did they sort polygons in old games from the eighties.
They did not use z-buffer or anything like this, thats for sure.
Please look at the screenshot. How ...
0
votes
1
answer
109
views
How to make an illusion where the contents of a 3D shape change based on which face you look through?
I remember coming across a Unity 3D tutorial where there was a technique where the contents of a 3D shape change based on which face you are looking at, similar to this screenshot from Antichamber:
...
0
votes
1
answer
104
views
What are some of the tricks engine can use to render object that have extremely high polygons efficiently? [closed]
What are some of the tricks engine can use to render object that have extremely high polygons efficiently? I know one thing we do is render only the parts that the camera points at, but I am wondering ...
3
votes
2
answers
2k
views
How to render a field of view of over 180 degrees?
In most 3D renderings, a view frustum is used.
This has the problem, that things get stretched out towards the edges.
At "normal" fov (field of view) of about 60 degrees, the effect is not ...
1
vote
1
answer
53
views
Is it a useful strategy for Mobile VR titles to render faster than their simulation loop?
For example - If a title had a very heavy simulation loop (say 20ms), is it desirable to render at a greater rate, say 90hz?
This would always a present head pose correct to the view, without being ...
0
votes
1
answer
2k
views
How to capture image from camera with post effects? Mysteriously only get emission(?) pass
I have a separate camera from my main camera, whose purpose is to take screenshots, or render a "live feed" of the action, at different angles. Hierarchy as such:
The game object labeled as ...
0
votes
1
answer
463
views
Apply Secondary Normal Map to Standard Shader by Script
I have a material with an existing normal map. I added a secondary normal map to represent damage via script. I assign to the appropriate texture property ...