r/Unity3D – Telegram
r/Unity3D
265 subscribers
12.7K photos
15.6K videos
14 files
48K links
News about the Unity engine and project showcases from Reddit. Made possible with @reddit2telegram (@r_channels).
Download Telegram
Am I missing something about shaders?

Hi everyone,

I've came back to unity after a couple of years, and tried to add a simple full-screen effect on my 2D game. The idea is simple: take the current frame, take the previous frame, and display the pixel wise difference between the two.

I've looked at at least 5 different tutorials about Shaders, Render Features, Volume Render Features, Shader Graph etc. and none of them have given me a working result. I even tried to use ChatGPT as a last resort to try to get a minimal example working, but to no avail. Something was always wrong, incompatible, or not working. I am therefore asking the question:

Is there something fundamentally complicated with Unity's URP, or am I missing something obvious to create simple custom post-processing effects?


Thank you in advance, for context I'm a Software Engineer by trade, and manage to get most of what I want in Unity to work, but I'm stumped that I wasted hours on something that I expected to be simple.

https://redd.it/1kndp8m
@r_Unity3D
We released a demo for our puzzle/platformer game!
https://redd.it/1knhgfs
@r_Unity3D
WebGL / HTML Fullscreen Problems

I've taken this issue to every person who might know the answer, and every AI I can think of. Nobody can tell me how to fix this.

I'm currently building a WebGL game in a 1:1 ratio that needs to be able to fullscreen on Desktop in landscape mode, and Mobile in Portrait mode. Desktop/Landscape is no issue whatsoever, it fills vertically and you can see the whole screen.

On mobile however, it ALSO fills vertically, cutting off the sides. I've tried everything! I've modifed the index.html file like crazy and even tried writing an extra .js noscript to brute force it, but I can't figure it out, partially because im no good at HTML, CSS, and my JS is pretty rusty.

WHAT DO I DO??

https://redd.it/1knik8n
@r_Unity3D