Simple blueprint to give you a chance to apply a visual censorship to any area in your map. Censored blueprint acts as a world space volume and it can be resized or rotated. It can be placed anywhere in your map just like any other object.
You can also set mosaic tiling amount and multiplying color by your choice.
Why GitHub?
I’ve tried to submit it to the marketplace for free but it has been rejected, so here we are : )
Hey mate, I am checking out this material as It seems really useful for my game and it has an awesome look.
I have encountered an unwanted behavior tho. The default tiling is 130 which seems to be tied to screen resolution. So that when I zoom in the object being censored becomes more and more clear as the 130 resolution starts to fill the screen.
I tried adding a little extra to the master material that reduces the tiling number based off the distance from camera to the object:
Any Idea why? I tried setting the tiling param on the unmodified material and there it doesnt produce these results, even if I set it to some odd number like 79.213, am I implementing that wrong?
Since we are working on pixel shader here, the “Absolute WP” node takes every pixel of an object into an account. This behaviour is called “Perspective Distortion” ( Perspective distortion - Wikipedia ) Outer pixels in screen space means a longer distance value than the center ones. You need to take object’s pivot point for referance instead of the all pixels one by one and there’s a node for that called “ObjectPivotPoint”.
&stc=1
Change Absolute Word Position node with an ObjectPivotPoint node and i think it’ll be ok. Can’t test it right now though. Please let me know if it works!
Haaa yes, that did it, makes actually a lot of sense, I didnt quite realize that operation worked on a per-pixel basis.
Works like a dream now. Thanks so much dude Now I can censor my game!
It’s not clear to me how this works in overview. Your image shows it censoring an area of a character. Can it be attached to a character? If it’s just a world volume, I don’t actually see any practical use for it, character wise.
Yes it works extremely well for characters. Im deevloping a game with adult content and needed a censoring feature like this for presentation purposes and such. This has been really good in that regards (censoring breasts and genitals of characters).