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
29 views

Rendering 10M point that changing position (individualy) at 30Hz

i'm able with openTk (vb.net) to draw 10M of points adn rendering it. The problem is that the bind operation take 114mS on every frame refresh. I need to refresh the position at 30 Hz , so what can i ...
3d_Point_Cloud_Rendering's user avatar
0 votes
0 answers
355 views

How can I get my physically based sky to be blue all the way down?

I'm rendering with a physically based sky. I want to get a very simple light blue background but below the horizon the sky becomes grey/brown. How can I get it so that the sky is blue all the way down?...
Tom's user avatar
  • 190
1 vote
1 answer
135 views

How do you simulate UV light and materials with UV-reflective/fluorescent properties within a PBR renderer?

I have a PBR setup, say, in Unity (or Unreal, doesn't really matter, I'm asking about the general principle, not specific implementation), and I would like to add a UV light source, and have control ...
sh code's user avatar
  • 196
0 votes
0 answers
665 views

For drawing many layered 2D tiles, should one use the painter's algorithm, or Z-buffering?

Sorry if this question doesn't make sense, I'm still very new to WebGL / OpenGL. Basically, I'm trying to draw a tilemap similar to the one in Stardew Valley. Here's a screenshot from that game: https:...
Ryan Peschel's user avatar
0 votes
0 answers
131 views

How to draw the player standing behind a tree in an Entity Component System?

I'm making a top-down Javascript canvas game using the Entity Component System architecture. For an entity to be drawn on the screen every frame, it needs a ...
Ryan Peschel's user avatar
0 votes
1 answer
274 views

Bake a heightmap from Editor

I want to implement a heightmap-based water simulation algorithm in Unity. I know exactly how I would approach this in pure low-level C++ and OpenGL (and also Shadertoy), and most of it is ...
clocktown's user avatar
  • 111
1 vote
0 answers
169 views

What is the best way to bake my own environment maps?

My engine has support for IBL by using pre-obtained HDRIs. It looks fine, but... I want the environment map to match the scene that is currently being rendered I want the environment map to take the ...
felipeek's user avatar
  • 131
3 votes
1 answer
701 views

How to draw grass sprites without using gameobjects?

I am making a rimworld-like procedurally generated 2D game using Unity's tilemap system. Just like tiles, I also have to procedurally generate grass and trees. Each grass instance should have logic ...
jolefull96's user avatar
0 votes
0 answers
112 views

What is the math to project a 3D object's center onto a 2D plane?

What I really need is the x,y of the object when it is outside of the screen: I'm actually coding a UI in Objective-C, not a game. In this different kind of UI you navigate a 3D space with objects. ...
Vulkan's user avatar
  • 101
0 votes
1 answer
1k views

In Unity, why does DrawProceduralNow work in OnRenderObject but DrawProcedural does not?

In Unity, if I call DrawProcedural (or one of its variants) from Update() it works fine, but if I make the exact same call from <...
alvion's user avatar
  • 103
1 vote
3 answers
2k views

How do you have the clothing mesh hide the body mesh underneath?

How do you have the clothing mesh hide the body mesh underneath, to prevent odd patches of body from sticking out in tighter modular clothing? Is there some sort of shader trick that can have the ...
ina's user avatar
  • 284
0 votes
0 answers
1k views

How to make a point light cast shadows in realtime?

I have a solar system... The central star has a point light attached to it. However, objects don't cast shadows on each other... Planets are < 20 units from the star, so it's not a light falloff ...
Basic's user avatar
  • 1,268
0 votes
0 answers
91 views

FPS drop on rendering

I am trying to create my own game in java (without OpenGL, LWJGL etc) and I am having a problem with the rendering. My map is pretty big and the game redering the entire map at once which cause a ...
Guy's user avatar
  • 1
0 votes
1 answer
227 views

Rendering tiles at a larger size for a detailed look

I'm trying to make my 32-bit tiled map become more "zoomed" in. However, I experience an error that I can't resolve. Firstly, I followed this post on how to render the tiles larger. This is ...
hanmic-6's user avatar
2 votes
1 answer
2k views

How do I apply Ambient Occlusion in Forward Rendering to the ambient term only?

I want to integrate Ambient Occlusion into my rendering which is a forward renderer. How do I apply Ambient Occlusion to the ambient term only and thus not as a "post process" over the ...
Raildex's user avatar
  • 751
0 votes
2 answers
545 views

Should a game object class contain the information for how to render it?

If I have a class called Enemy: // Simplified version class Enemy { float xPosition_; float yPosition_; int hp_; }; Should this class also contain the ...
JensB's user avatar
  • 157
1 vote
1 answer
55 views

How do I refer to the two types of loading screen?

I'm troubleshooting some issues beyond the scope of this forum, and I'd like to be able to talk about certain parts of the gaming experience, specifically the two types of loading screen I see in Prey....
Sarkreth's user avatar
  • 113
0 votes
0 answers
136 views

16bit triangle lists vs 32bit triangle strips

When drawing geometry we may use indexed drawing, where we pass index of the vertex we want to draw in array. In this case we need to pick a topology for our geometry and the type of indices. Popular ...
user369070's user avatar
0 votes
1 answer
101 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 ...
JensB's user avatar
  • 157
0 votes
0 answers
55 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 ...
Chuan Li's user avatar
2 votes
1 answer
1k 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. ...
Daniel Marques's user avatar
0 votes
1 answer
161 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: ...
marco luberto's user avatar
0 votes
0 answers
46 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 ...
KI.'s user avatar
  • 462
0 votes
0 answers
151 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 ...
Satchmo Brown's user avatar
1 vote
0 answers
359 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 ...
Kuba's user avatar
  • 11
0 votes
1 answer
1k 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 ...
IceColdCamel's user avatar
1 vote
1 answer
2k 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 ...
pale_rider's user avatar
0 votes
0 answers
137 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 ...
Raildex's user avatar
  • 751
0 votes
2 answers
299 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?
goodlifetobesavecompenthusiast's user avatar
1 vote
2 answers
339 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, ...
sunsigil's user avatar
0 votes
0 answers
53 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: ...
alandra's user avatar
0 votes
1 answer
746 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 ...
Gozmetaiemax's user avatar
2 votes
1 answer
267 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 ...
Mokshith P B's user avatar
2 votes
2 answers
238 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 ...
shahanneda's user avatar
0 votes
2 answers
156 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 ...
rickyc's user avatar
  • 3
0 votes
1 answer
254 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: ...
DubstepZedd's user avatar
0 votes
0 answers
630 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 ...
bao007fei's user avatar
  • 151
0 votes
0 answers
507 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 ...
Rug's user avatar
  • 125
0 votes
1 answer
33 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. ...
DeveloperKurt's user avatar
0 votes
1 answer
49 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 ...
Microbob's user avatar
  • 105
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?
bao007fei's user avatar
  • 151
3 votes
2 answers
7k 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 ...
Daniel Lip's user avatar
  • 1,747
1 vote
2 answers
6k 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 ...
Elu Thingol's user avatar
1 vote
1 answer
164 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 ...
Zett's user avatar
  • 113
2 votes
2 answers
468 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 ...
bao007fei's user avatar
  • 151
1 vote
2 answers
734 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:...
OskarZyg's user avatar
3 votes
1 answer
932 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 ...
Ced B's user avatar
  • 33
0 votes
0 answers
43 views

Unity Applying Global Light Settings fog to a non-main camera

Is it possible to apply fog to a non-main camera?
ina's user avatar
  • 284
0 votes
0 answers
42 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 ...
Ahmed Amr Salah's user avatar
0 votes
1 answer
413 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'...
A. Kriegman's user avatar

1 2 3
4
5
26