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 best solutions below
Related Questions in UNITY-GAME-ENGINE
- Using arrow keys to rotate an object
- know object behind another object is fully visible
- Unity3d AudioSource not creatable
- Unity3d - Input.GetKey returns true more than once
- Flurry Ads on Unity3D with Prime31 plugin
- Make screenshot of DirectX window that is hidden and doesn't have focus
- Coroutine being detected as inactive despite being active
- Unity3D: Adding charged force in relation to position
- Unity - Particles emitting non-random
- 3d mouse aim camera 3rd person vertical C#
- Unity: How would I go about creating a power up system?
- Unity - Gui Button issues (Android)
- Unity3d strange Collider behaviour
- Start() function doesn't work properly after Application.LoadLevel
- Gravity works weird
Related Questions in MAPPING
- Change lowercase and uppercase of characters in java
- Texture mapping consuming physical memory
- Looping functoid, Mapping
- is there a way to find all the perforce workspaces which are mapping a certain file in the depot?
- XSLT Mapping for replacing child nodes with new set under parent nodes
- Missing Foreign Keys when mapping Child Entities from JSON / How to generate them?
- How do I set up the relation using Fluent API between an Employee entity and an ICollection<Employee>?
- Mapping int to int (in Java)
- Add brands through company, it's possible? How?
- maven-rpm-plugin set folders permission differently from files when mapping
- Projecting a texture from plane to object with Unity
- how to extract characters of a language
- When I try to map the properties for an entity (Entity Framework), I get the error the type '__' must be a non-nullable value type
- Android + Dozer throws IllegalArgumentException
- (Using Spring)How to stop DTO from repeating when the map appears to be fine?
Related Questions in TEXTURES
- Can linear filtering be used for an FBO blit of an MSAA texture to non-MSAA texture?
- Texture mapping consuming physical memory
- Quality not proper while rendering it via threejs r71
- SDL2_image rendering not working properly
- Cocos2D 2.x: Running CCWave action makes sprite disappear
- Creating a Texture2DArray and populate it with solid values
- Projecting a texture from plane to object with Unity
- Textured cube renders blank in DirectX
- Programmatically generate texture for WebGL in JavaScript
- Unable to render a texture on a quad
- OpenGl with C++ - Textures
- Random Line Appearing on Moving Texture Node
- Load multiple OBJ-files together with multple textures
- LibGDX "GwtApplication: exception: Couldn't load image 'a.jpg'
- Android OpenGL es 2.0 Can not reload textures on object.
Related Questions in TEXTURE-MAPPING
- Projecting a texture from plane to object with Unity
- MeshBasicMaterial color tints texture map three.js
- OpenGl with C++ - Textures
- Texture in three.js no console errors still not working
- Qt5 OpenGL Texture Sampling
- Wrapping images around sphere
- Mapping image on spherical surface
- blender doesnt import textures from obj
- How can I a texture to a json model exported from Blender to Three.js?
- Texture Mapping a square image onto a circle OpenGl
- How to resolve distortion resulting from canvas texture applied to non-rectangular ThreeJS quad mesh
- Uniform texture on merged mesh
- Texture Binding : OpenGL + OpenCV
- Using texture for triangle mesh without having to read/write an image file
- DirectX/C++: Texture Coordinates not "correct" in-engine correctly after Obj export
Related Questions in TEXTURING
- Projecting a texture from plane to object with Unity
- Unable to render a texture on a quad
- Opengl ES 2.0 - Load PNG with GLKit instead of OpenGL API
- openGL fixed function pipeline - scale texture intensity beyond 1.0
- OpenGL, Shader Model 3.3 Texturing: Black Textures?
- Texturing 3D cubes with LWJGL using VBOs
- Java 3D API - Prevent small texture blurriness
- I need OpenGL ES 1.1 to render objects with texturing and others with just vertex paints and colors simple
- Blender Viewport Shading (A method of displaying/shading objects in 3D view: Material Preview) problem
- Blender adding image / texture on object does not show up in .obj document
- LWJGL OpenGL texturing not correct
- Shadows via shadowmaps and other textures - how to combine? OpenGL
- OpenGL texture loading issue
- Open GL texturing , texture coordinates are incorrect to what is rendered
- Drawing offscreen with Quartz2D and using the result as an OpenGL ES texture in iOS
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)
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?
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!