Questions tagged [decal-system]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
28 views

Displaying Precisely Scaled Images With URP Decal Projector

I am using Unity's URP Decal Projector to display an oval shaped blob shadow texture. The image's dimensions are 227 x 70. However, when I use it as a base map for my Shader Graphs/Decal material, it ...
PayasoPrince's user avatar
0 votes
0 answers
106 views

Permanent blood spots

I want my blood decals to stay on the map until I'm done in that zone, which is probably 5 minutes. The issue is that at the moment, I spawn 1 blood decal at each particle collision, so after killing ...
Green_qaue's user avatar
  • 1,903
0 votes
0 answers
307 views

How can I combine the decal shader with particle system in Unity?

I'm using the decal shader in my project and everything works well until I want to use it in particle system. I set it like below However, there is nothing displaying in the screen. Basically I just ...
OtakuFitness's user avatar
0 votes
0 answers
669 views

How to make a decal project on a transparent gameobjects in Unity?

I'm using urp pipeline in Unity 2021.3 and in this version Unity has an official decal system. However, this decal system seems not to support transparent gameobject. I can't project the decal on it. ...
OtakuFitness's user avatar
1 vote
0 answers
136 views

Decals for 2D sprites?

I want to implement something like blood on my 2d character and his weapon but couldn't find any related information. Is there a way to implement this?
modernator's user avatar
  • 1,213
0 votes
1 answer
1k views

Decal Projector equivalent in unity's standard shader pipeline

I have a script in my Unity project that creates glowing outlines around objects when highlighted in a scene. The shaders don't work properly with the URP or HDRP. However, I want to create a move ...
pocketlint60's user avatar
0 votes
1 answer
2k views

How can I tint the color of a decal in Unity?

For my game, I want some sort of indicator of if a space is walkable or not. To achieve this I figured I would create a decal projector and have it follow the mouse cursor around, displaying a decal ...
Charanor's user avatar
  • 7,840
2 votes
1 answer
189 views

How to get rid of intersections between terrain and road strip drawn on top?

When I draw a road as is (stencil:off, depth:on,less), the results are like this - ; Then I tried adding stencil a test for the road: ...
USSRCoder's user avatar
0 votes
0 answers
32 views

Projecting Coordinates from one Space into another, but with "twisting"

i'm trying to generate a decal mesh kinda like this: http://blog.wolfire.com/2009/06/how-to-project-decals/ but instead of projecting the decal with a box, i need to project it with a sort of ...
Matthias's user avatar
0 votes
0 answers
468 views

How to use a decal / logo / tatoo texture on a object or character?

It appears I've misunderstood the purpose of Standard Shader's "Secondary Texture" options. If I wish to map temporary details to an object, what is the Unity-appropriate way to do this? I am ...
Pipsqweek's user avatar
  • 173
1 vote
0 answers
650 views

How to do Decal Clipping with OpenGL using Depth Buffer comparison?

Basically I'm already drawing decals on top of various flat surfaces and that works great. As soon as the decal approaches the edge of a surface, naturally it doesn't get clipped. Is there a way to ...
JBeurer's user avatar
  • 467
2 votes
2 answers
123 views

How to project textures onto an animated model?

I'm trying to figure out exactly how to project textures onto an animated model. I've taken a look at L4D2's wound's white paper. But their method doesn't exactly explain how they went about this. I'...
moonshineTheleocat's user avatar
3 votes
2 answers
1k views

How to Reciprocally draw on a 3D mesh and 2D UI Image in Unity?

My question is a bit involved so I'm going to split it into parts and attach a picture. 1) In Unity I'd like to be able to draw a line on a 3D worldspace mesh with the mouse. 2) As I'm drawing on ...
Ben BearFish's user avatar
0 votes
1 answer
3k views

Screen space decals, converting world to decal space

I'm trying to do screen space deferred decals following the presentation made by Pope Kim about SSDs in WH40K: Space Marine (link). I've gotten to the point where I can render a decal if the bounding ...
Bentebent's user avatar
  • 465
11 votes
1 answer
2k views

Deferred decals normal problem

I've been working on a deferred decal system. So far I have finished the projection part, meaning I can click something in the scene and it will properly project a decal onto the surface of the object....
Ian's user avatar
  • 211
13 votes
2 answers
11k views

Decal implementation

I had issues finding information about decals, so maybe this question will help others. The implementation is for a forward renderer. Could somebody confirm if i got decal implementation right? You ...
dreta's user avatar
  • 3,524
3 votes
2 answers
3k views

Textures on top of other textures when using VBOs

I'm currently making a cube style game. With chunks being drawn with VBOs. I'd like to know if there is a way to create an overlay texture on top of the existing texture without the need to rebuild ...
GameDev-er's user avatar
5 votes
1 answer
5k views

How do I create a decal system?

I'm currently given the task to design & create a simple decal-system in C++/DirectX. Does anybody know a great tutorial, article or paper to start with? (Especially the part about 2D-texture to ...
Fabian's user avatar
  • 803