I'm trying to project a texture from a plane to a wall using raycasts. This should happen in realtime. Since the plane is larger than the wall, only part of the texture is supposed to appear on the front side of the wall. So moving the plane will also change the part of the texture on the wall. The wall can have windows etc so it's not just a simple cube. I already managed to get the texturecoordinates using raycasts, but I haven't yet managed to correctly put the texture on the wall. Any ideas how I might achieve this?
Projecting a texture from plane to object with Unity
2.3k views Asked by migg At
1
There are 1 answers
Related Questions in UNITY-GAME-ENGINE
- How to use invokerepeating and make ui text fade in/out over time?
- Player input not working properly in unity
- Get block in Mesh Unity
- Does Unity render invisible material?
- Physics.OverlapSphere couldn't detect my ‘Player’
- Cannot sync non-player objects in Unity mirror
- How to script a simple collision using hands in OVRCameraRigInteraction?
- Drawing on 3D object at Unity
- How to Override Spline Rotation for Player-Controlled Car in Racing Game?
- Why doesn't my enemy shield take damage first. Instead both enemy and shield are being destroyed together
- unity + Vuforia balck screen in android AR app
- how do I change an objects tag when the game closes
- How to remove white space in a user's input through an input field in Unity?
- Timeline doesn't start eventhough it recognises the trigger input
- Ragdoll 2D Aiming
Related Questions in MAPPING
- Hospital route finding ai project
- ImportError: cannot import name 'Mapping' from 'collections' (E:\Anaconda\envs\nlp\Lib\collections\__init__.py)
- How to exclude a weaved property from an entity in Spring Data?
- 2D affine mapping using scipy
- In Mapstruct, how to ignore null objects and fields
- org.hibernate.persister.entity.SingleTableEntityPersister
- Mapping unnormalized database into graph
- Changes not saving in Python and Excel
- Map non-boolean vector with text vector in Excel
- Performing PACE PIN authentication using C# and nfc card : Chip Authentication with ECDH
- entityListToResponseModelList unable to find mapped target properties, resulting in null results
- Elasticsearch reindexing - missing child mapping
- Is a full reindex required after adding a new field to Opensearch mapping? (Searchkick)
- GIS Layers into Google Maps Search
- Using Mapperly Library for Custom Constructor Mapping C#
Related Questions in TEXTURES
- LibGDX Normal Textures Not Showing Up in 3D (Blender) Model Java
- A way to warp an image based on a map
- Cracks in my automatic texture in Unreal engine 5
- Threejs .glb loading textures issue, texures not loaded
- Which format should be more smooth for complex R8 textures - BC4 or BC7?
- Unity render Texture is not as clear as the actual gameobject in the scene, how to make it clearer?
- Anyone else notcing delays of shared d3dtexture2D betweeen two processes?
- How to ensure the background texture joins up smoothly around sphere in Three.js?
- Update node's physicsbody with texture animation?
- Transfer GL_TEXTURE_2D Image to GL_TEXTURE_CUBE_MAP
- Converting Texture Atlas exported from Adobe Animate to Images
- WGPU: How to change max_bind_groups/device bind group limit?
- How to calculate Uvs from texture atlas?
- Downloaded model has no materials or textures
- Three.js Y Axis Offset for Equirectangular Image Not Working
Related Questions in TEXTURE-MAPPING
- how to solve CORS problem whith local html three.js?
- How to ensure the background texture joins up smoothly around sphere in Three.js?
- RTK-georeferenced textured mesh with Meshroom (Drone imagery)
- Issue with converting map_Kd texture into a usable format for three.js port
- How can I add a marmoset library smart material on top of a baked normal map and then export textures?
- How to visualize a football with python vtk?
- Issue with Texture Mapping on Models without UVs
- Pygame: How to map png texture 1-1 to rectangle
- Apply a custom image to a cuboid in Unity
- How would I draw onto A texture in unity's bolt?
- threejs apply texture in camera space
- Play with Texture in three js
- How to apply a texture to a geodesic sphere in SceneKit
- Tracking Position with RaspberryPi for LiDAR-Mapping
- How to draw multiple 2d circles on top of buffer geometry?
Related Questions in TEXTURING
- Differences between spherical mapping techniques
- Rainbow artifact bug when displaying a earth texture onto a OpenGL sphere with SFML
- Sending a pointer to glVertexAttributePointer in Pyrthon
- How to find the intersection points in cell noise / voronoi in GLSL?
- Finding length of arc on unit circle only given x position
- Ursina - Colorize custom model using MTL file
- Polybrush errors in unity 2019.4
- Blender Texturing doesn't show up correctly after repeatedly baked on it even though UV-Mapping fits perfectly
- Blender Viewport Shading (A method of displaying/shading objects in 3D view: Material Preview) problem
- Texture mapping on voxel model in Open GL
- Applying 2d texture to single cube face with change in z direction in opengl
- Equirectangular to rectilinear with (given points list) point to point mapping
- Texture the 3D figure (cylinder)
- Blender adding image / texture on object does not show up in .obj document
- OpenGL ES 2.0 circle texture has visible outline when blending
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Seems like you need a projector, this enables you to project an image on any model. It's mostly used for shadows but anything can be projected anywhere!