mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 10:56:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			404 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			404 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| void RenderScene_vs(in float4 position : POSITION
 | |
| 	,in float2 uv :TEXCOORD0
 | |
| 	,uniform float4x4 wvp
 | |
| 	,out float4 oPosition : POSITION
 | |
| 	,out float2 oUV :TEXCOORD0)
 | |
| {
 | |
| 	oPosition = mul(wvp, position);
 | |
| 	oUV = uv;
 | |
| }
 | |
| 
 | |
| void RenderScene_ps(in float4 position : POSITION
 | |
| 	,in float2 uv :TEXCOORD0
 | |
| 	,uniform sampler2D tex1 : TEXUNIT0
 | |
| 	,out float4 oColor : COLOR)
 | |
| {
 | |
| 	float4 scene =tex2D(tex1, uv);
 | |
| 	oColor= scene;
 | |
| }
 |