Skip to main content

Questions tagged [rendertexture]

A texture to which content can be rendered.

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

I want to implement a bilateral filter because I have read the it preserves the edges. The equation is given as: $$ BF\left[I\right]_p = \frac{1}{W_p}\sum_{q\in S} G_{\sigma_s}\left( \left\Vert p-q \...
Akshay Dhotre's user avatar
0 votes
1 answer
405 views

A Gameobject sprite, a Texture2D which is written into using "Texture2D.ReadPixels" works/is visible in the Editor/Play Mode but is not/is invisible when built. The Texture2D is written to ...
Konxovar's user avatar
1 vote
0 answers
94 views

I have a Unity URP project and in the Scriptable Render Pipeline, I would like to create a RenderTexture and pass the depth and color buffer of the camera object as ...
Fox1942's user avatar
  • 131
0 votes
1 answer
138 views

I noticed that render a portion of the texture, upscaling it, it affects is border values with the proximity of the outside remaining parts of the texture (when not using Neareast neighbour ...
Raffaello's user avatar
  • 125
1 vote
0 answers
1k views

Context I am writing a ScriptableImporter for a specialised image format (the specifics are not relevant). To do so, I need to semi-procedurally generate a ...
Kroltan's user avatar
  • 396
0 votes
0 answers
1k views

I am using render texture to display a model of a 3D character on a menu. I would like the background of the render texture to be made transparent. I have tried to make it transparent by editing the ...
mjbelanic's user avatar
0 votes
1 answer
3k views

I have a strange problem that I am not sure if it is a bug from Unity or not. I have render texture that renders camera output to a raw image. Camera looks at a object that consists of 2 parts: the ...
Ivan's user avatar
  • 379
0 votes
1 answer
115 views

I need to draw a tilemap for a 2d game. For that I created vertices with their relative positions already hard baked. The coordinates start top-left with (0f, 0f) and z is always 0. I rendered them to ...
codymanix's user avatar
  • 394
2 votes
1 answer
1k views

I'm working on a character generator that creates thumbnail sprites for each character. I'm using a separate camera that renders to a RenderTexture, which is used ...
Acme Nerd Games's user avatar
0 votes
1 answer
303 views

I am currently working on a game that has monitors showing the player different elements such as texts, images and numbers. My plan for this is to use Unity's ...
CMinusMinus's user avatar
1 vote
1 answer
2k views

My game's protagonist is after a specific resource on the map, its concentration stored in a field on the CPU-side, and I would like to provide a subtle hint as to where it is so that the player can &...
Michael Macha's user avatar
1 vote
0 answers
556 views

I'm working on object cleaning in unity. This effect actually works. What I still need is the progress, do you have any idea how can I count the progress of the cleaning? (my code is below) Thank you ...
HappyArroW's user avatar
0 votes
1 answer
1k views

The pixel color component read from the Unity renderTexture is bigger than 1.0 without HDR environment map. I'm writing a mini program to test the reflectance of Unity PBS. I use six pure white (1,1,1,...
T3-Tan's user avatar
  • 33
1 vote
0 answers
59 views

I just can't seem to figure out why I can't save the image I've drawn onto an orthographic RenderTexture. Here's how my scene works: https://i.sstatic.net/6XkRo.gif Basically, it's a painting effect ...
xxhoisinxx's user avatar
1 vote
1 answer
9k views

I have a simple method that converts RenderTexture data into Texture2D ...
Digvijaysinh Gohil's user avatar
0 votes
1 answer
443 views

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
0 votes
1 answer
133 views

Background: Our biomechanics and Advanced Surgical Technologies Lab wrote a surgery navigation system desktop application in C# around ten years ago. One of its major functions uses XNA Game Studio 4....
user avatar
0 votes
0 answers
75 views

Context : I'm writing a 2D mobile game in Unity where the graphics are essentially black lines drawn on a background image plus some lighting. Running full RGB calculations for every step seems like a ...
MInvertedM's user avatar
2 votes
0 answers
66 views

How would one proceduraly generate a star in a compute shader that looks like one of thes two at any size needed. Also any way transfer this into a spherical map, would be appreciated. Goal is to ...
chief65's user avatar
  • 21
1 vote
1 answer
171 views

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 ...
Hillbilly Joe's user avatar
0 votes
1 answer
2k views

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 ...
Zoop's user avatar
  • 161
0 votes
0 answers
870 views

I am receiving the error, "Dimensions of color surface does not match dimensions of depth surface" whenever I attempt to use my screenshot code, without any callstack or anything further insight of ...
Zoop's user avatar
  • 161
0 votes
0 answers
52 views

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 ...
ArtyGrand's user avatar
1 vote
1 answer
739 views

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, ...
Salvatore Ambulando's user avatar
1 vote
0 answers
644 views

I found a nice Gaussian Blur shader online and am attempting to use it to blur a render texture using blit(). However, the render texture remains unblurred. I know for a fact the blur shader works as ...
David King's user avatar