Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #version 320 es
- #define INTERFACE_LOCATION(Pos) layout(location=Pos)
- #define INTERFACE_BLOCK(Pos, Interp, Modifiers, Semantic, PreType, PostType) layout(location=Pos) Modifiers Semantic { PreType PostType; }
- #define HLSLCC_DX11ClipSpace 1
- // end extensions
- layout(std140) uniform vb0
- {
- #define View_TranslatedWorldToClip View_TranslatedWorldToClipvb0
- highp mat4 View_TranslatedWorldToClip;
- #define View_WorldToClip View_WorldToClipvb0
- highp mat4 View_WorldToClip;
- #define View_TranslatedWorldToView View_TranslatedWorldToViewvb0
- highp mat4 View_TranslatedWorldToView;
- #define View_ViewToTranslatedWorld View_ViewToTranslatedWorldvb0
- highp mat4 View_ViewToTranslatedWorld;
- #define View_TranslatedWorldToCameraView View_TranslatedWorldToCameraViewvb0
- highp mat4 View_TranslatedWorldToCameraView;
- #define View_CameraViewToTranslatedWorld View_CameraViewToTranslatedWorldvb0
- highp mat4 View_CameraViewToTranslatedWorld;
- #define View_ViewToClip View_ViewToClipvb0
- highp mat4 View_ViewToClip;
- #define View_ViewToClipNoAA View_ViewToClipNoAAvb0
- highp mat4 View_ViewToClipNoAA;
- #define View_ClipToView View_ClipToViewvb0
- highp mat4 View_ClipToView;
- #define View_ClipToTranslatedWorld View_ClipToTranslatedWorldvb0
- highp mat4 View_ClipToTranslatedWorld;
- #define View_SVPositionToTranslatedWorld View_SVPositionToTranslatedWorldvb0
- highp mat4 View_SVPositionToTranslatedWorld;
- #define View_ScreenToWorld View_ScreenToWorldvb0
- highp mat4 View_ScreenToWorld;
- #define View_ScreenToTranslatedWorld View_ScreenToTranslatedWorldvb0
- highp mat4 View_ScreenToTranslatedWorld;
- #define View_ViewForward View_ViewForwardvb0
- highp vec3 View_ViewForward;
- #define PrePadding_View_844 PrePadding_View_844vb0
- highp float PrePadding_View_844;
- #define View_ViewUp View_ViewUpvb0
- highp vec3 View_ViewUp;
- #define PrePadding_View_860 PrePadding_View_860vb0
- highp float PrePadding_View_860;
- #define View_ViewRight View_ViewRightvb0
- highp vec3 View_ViewRight;
- #define PrePadding_View_876 PrePadding_View_876vb0
- highp float PrePadding_View_876;
- #define View_HMDViewNoRollUp View_HMDViewNoRollUpvb0
- highp vec3 View_HMDViewNoRollUp;
- #define PrePadding_View_892 PrePadding_View_892vb0
- highp float PrePadding_View_892;
- #define View_HMDViewNoRollRight View_HMDViewNoRollRightvb0
- highp vec3 View_HMDViewNoRollRight;
- #define PrePadding_View_908 PrePadding_View_908vb0
- highp float PrePadding_View_908;
- #define View_InvDeviceZToWorldZTransform View_InvDeviceZToWorldZTransformvb0
- highp vec4 View_InvDeviceZToWorldZTransform;
- #define View_ScreenPositionScaleBias View_ScreenPositionScaleBiasvb0
- highp vec4 View_ScreenPositionScaleBias;
- #define View_WorldCameraOrigin View_WorldCameraOriginvb0
- highp vec3 View_WorldCameraOrigin;
- #define PrePadding_View_956 PrePadding_View_956vb0
- highp float PrePadding_View_956;
- #define View_TranslatedWorldCameraOrigin View_TranslatedWorldCameraOriginvb0
- highp vec3 View_TranslatedWorldCameraOrigin;
- #define PrePadding_View_972 PrePadding_View_972vb0
- highp float PrePadding_View_972;
- #define View_WorldViewOrigin View_WorldViewOriginvb0
- highp vec3 View_WorldViewOrigin;
- #define PrePadding_View_988 PrePadding_View_988vb0
- highp float PrePadding_View_988;
- #define View_PreViewTranslation View_PreViewTranslationvb0
- highp vec3 View_PreViewTranslation;
- #define PrePadding_View_1004 PrePadding_View_1004vb0
- highp float PrePadding_View_1004;
- #define View_PrevProjection View_PrevProjectionvb0
- highp mat4 View_PrevProjection;
- #define View_PrevViewProj View_PrevViewProjvb0
- highp mat4 View_PrevViewProj;
- #define View_PrevViewRotationProj View_PrevViewRotationProjvb0
- highp mat4 View_PrevViewRotationProj;
- #define View_PrevViewToClip View_PrevViewToClipvb0
- highp mat4 View_PrevViewToClip;
- #define View_PrevClipToView View_PrevClipToViewvb0
- highp mat4 View_PrevClipToView;
- #define View_PrevTranslatedWorldToClip View_PrevTranslatedWorldToClipvb0
- highp mat4 View_PrevTranslatedWorldToClip;
- #define View_PrevTranslatedWorldToView View_PrevTranslatedWorldToViewvb0
- highp mat4 View_PrevTranslatedWorldToView;
- #define View_PrevViewToTranslatedWorld View_PrevViewToTranslatedWorldvb0
- highp mat4 View_PrevViewToTranslatedWorld;
- #define View_PrevTranslatedWorldToCameraView View_PrevTranslatedWorldToCameraViewvb0
- highp mat4 View_PrevTranslatedWorldToCameraView;
- #define View_PrevCameraViewToTranslatedWorld View_PrevCameraViewToTranslatedWorldvb0
- highp mat4 View_PrevCameraViewToTranslatedWorld;
- #define View_PrevWorldCameraOrigin View_PrevWorldCameraOriginvb0
- highp vec3 View_PrevWorldCameraOrigin;
- #define PrePadding_View_1660 PrePadding_View_1660vb0
- highp float PrePadding_View_1660;
- #define View_PrevWorldViewOrigin View_PrevWorldViewOriginvb0
- highp vec3 View_PrevWorldViewOrigin;
- #define PrePadding_View_1676 PrePadding_View_1676vb0
- highp float PrePadding_View_1676;
- #define View_PrevPreViewTranslation View_PrevPreViewTranslationvb0
- highp vec3 View_PrevPreViewTranslation;
- #define PrePadding_View_1692 PrePadding_View_1692vb0
- highp float PrePadding_View_1692;
- #define View_PrevInvViewProj View_PrevInvViewProjvb0
- highp mat4 View_PrevInvViewProj;
- #define View_PrevScreenToTranslatedWorld View_PrevScreenToTranslatedWorldvb0
- highp mat4 View_PrevScreenToTranslatedWorld;
- #define View_ClipToPrevClip View_ClipToPrevClipvb0
- highp mat4 View_ClipToPrevClip;
- #define View_TemporalAAJitter View_TemporalAAJittervb0
- highp vec4 View_TemporalAAJitter;
- #define View_GlobalClippingPlane View_GlobalClippingPlanevb0
- highp vec4 View_GlobalClippingPlane;
- #define View_FieldOfViewWideAngles View_FieldOfViewWideAnglesvb0
- highp vec2 View_FieldOfViewWideAngles;
- #define View_PrevFieldOfViewWideAngles View_PrevFieldOfViewWideAnglesvb0
- highp vec2 View_PrevFieldOfViewWideAngles;
- #define View_ViewRectMin View_ViewRectMinvb0
- highp vec4 View_ViewRectMin;
- #define View_ViewSizeAndInvSize View_ViewSizeAndInvSizevb0
- highp vec4 View_ViewSizeAndInvSize;
- #define View_BufferSizeAndInvSize View_BufferSizeAndInvSizevb0
- highp vec4 View_BufferSizeAndInvSize;
- #define View_BufferBilinearUVMinMax View_BufferBilinearUVMinMaxvb0
- highp vec4 View_BufferBilinearUVMinMax;
- #define View_NumSceneColorMSAASamples View_NumSceneColorMSAASamplesvb0
- highp int View_NumSceneColorMSAASamples;
- #define View_PreExposure View_PreExposurevb0
- highp float View_PreExposure;
- #define View_OneOverPreExposure View_OneOverPreExposurevb0
- highp float View_OneOverPreExposure;
- #define PrePadding_View_2012 PrePadding_View_2012vb0
- highp float PrePadding_View_2012;
- #define View_DiffuseOverrideParameter View_DiffuseOverrideParametervb0
- highp vec4 View_DiffuseOverrideParameter;
- #define View_SpecularOverrideParameter View_SpecularOverrideParametervb0
- highp vec4 View_SpecularOverrideParameter;
- #define View_NormalOverrideParameter View_NormalOverrideParametervb0
- highp vec4 View_NormalOverrideParameter;
- #define View_RoughnessOverrideParameter View_RoughnessOverrideParametervb0
- highp vec2 View_RoughnessOverrideParameter;
- #define View_PrevFrameGameTime View_PrevFrameGameTimevb0
- highp float View_PrevFrameGameTime;
- #define View_PrevFrameRealTime View_PrevFrameRealTimevb0
- highp float View_PrevFrameRealTime;
- #define View_OutOfBoundsMask View_OutOfBoundsMaskvb0
- highp float View_OutOfBoundsMask;
- #define PrePadding_View_2084 PrePadding_View_2084vb0
- highp float PrePadding_View_2084;
- #define PrePadding_View_2088 PrePadding_View_2088vb0
- highp float PrePadding_View_2088;
- #define PrePadding_View_2092 PrePadding_View_2092vb0
- highp float PrePadding_View_2092;
- #define View_WorldCameraMovementSinceLastFrame View_WorldCameraMovementSinceLastFramevb0
- highp vec3 View_WorldCameraMovementSinceLastFrame;
- #define View_CullingSign View_CullingSignvb0
- highp float View_CullingSign;
- #define View_NearPlane View_NearPlanevb0
- highp float View_NearPlane;
- #define View_AdaptiveTessellationFactor View_AdaptiveTessellationFactorvb0
- highp float View_AdaptiveTessellationFactor;
- #define View_GameTime View_GameTimevb0
- highp float View_GameTime;
- #define View_RealTime View_RealTimevb0
- highp float View_RealTime;
- #define View_MaterialTextureMipBias View_MaterialTextureMipBiasvb0
- highp float View_MaterialTextureMipBias;
- #define View_MaterialTextureDerivativeMultiply View_MaterialTextureDerivativeMultiplyvb0
- highp float View_MaterialTextureDerivativeMultiply;
- #define View_Random View_Randomvb0
- highp uint View_Random;
- #define View_FrameNumber View_FrameNumbervb0
- highp uint View_FrameNumber;
- #define View_StateFrameIndexMod8 View_StateFrameIndexMod8vb0
- highp uint View_StateFrameIndexMod8;
- #define View_CameraCut View_CameraCutvb0
- highp float View_CameraCut;
- #define View_UnlitViewmodeMask View_UnlitViewmodeMaskvb0
- highp float View_UnlitViewmodeMask;
- #define PrePadding_View_2156 PrePadding_View_2156vb0
- highp float PrePadding_View_2156;
- #define View_DirectionalLightColor View_DirectionalLightColorvb0
- highp vec4 View_DirectionalLightColor;
- #define View_DirectionalLightDirection View_DirectionalLightDirectionvb0
- highp vec3 View_DirectionalLightDirection;
- #define PrePadding_View_2188 PrePadding_View_2188vb0
- highp float PrePadding_View_2188;
- #define View_TranslucencyLightingVolumeMin View_TranslucencyLightingVolumeMinvb0
- highp vec4 View_TranslucencyLightingVolumeMin[2];
- #define View_TranslucencyLightingVolumeInvSize View_TranslucencyLightingVolumeInvSizevb0
- highp vec4 View_TranslucencyLightingVolumeInvSize[2];
- #define View_TemporalAAParams View_TemporalAAParamsvb0
- highp vec4 View_TemporalAAParams;
- #define View_CircleDOFParams View_CircleDOFParamsvb0
- highp vec4 View_CircleDOFParams;
- #define View_DepthOfFieldSensorWidth View_DepthOfFieldSensorWidthvb0
- highp float View_DepthOfFieldSensorWidth;
- #define View_DepthOfFieldFocalDistance View_DepthOfFieldFocalDistancevb0
- highp float View_DepthOfFieldFocalDistance;
- #define View_DepthOfFieldScale View_DepthOfFieldScalevb0
- highp float View_DepthOfFieldScale;
- #define View_DepthOfFieldFocalLength View_DepthOfFieldFocalLengthvb0
- highp float View_DepthOfFieldFocalLength;
- #define View_DepthOfFieldFocalRegion View_DepthOfFieldFocalRegionvb0
- highp float View_DepthOfFieldFocalRegion;
- #define View_DepthOfFieldNearTransitionRegion View_DepthOfFieldNearTransitionRegionvb0
- highp float View_DepthOfFieldNearTransitionRegion;
- #define View_DepthOfFieldFarTransitionRegion View_DepthOfFieldFarTransitionRegionvb0
- highp float View_DepthOfFieldFarTransitionRegion;
- #define View_MotionBlurNormalizedToPixel View_MotionBlurNormalizedToPixelvb0
- highp float View_MotionBlurNormalizedToPixel;
- #define View_bSubsurfacePostprocessEnabled View_bSubsurfacePostprocessEnabledvb0
- highp float View_bSubsurfacePostprocessEnabled;
- #define View_GeneralPurposeTweak View_GeneralPurposeTweakvb0
- highp float View_GeneralPurposeTweak;
- #define View_DemosaicVposOffset View_DemosaicVposOffsetvb0
- highp float View_DemosaicVposOffset;
- #define PrePadding_View_2332 PrePadding_View_2332vb0
- highp float PrePadding_View_2332;
- #define View_IndirectLightingColorScale View_IndirectLightingColorScalevb0
- highp vec3 View_IndirectLightingColorScale;
- #define View_HDR32bppEncodingMode View_HDR32bppEncodingModevb0
- highp float View_HDR32bppEncodingMode;
- #define View_AtmosphericFogSunDirection View_AtmosphericFogSunDirectionvb0
- highp vec3 View_AtmosphericFogSunDirection;
- #define View_AtmosphericFogSunPower View_AtmosphericFogSunPowervb0
- highp float View_AtmosphericFogSunPower;
- #define View_AtmosphericFogPower View_AtmosphericFogPowervb0
- highp float View_AtmosphericFogPower;
- #define View_AtmosphericFogDensityScale View_AtmosphericFogDensityScalevb0
- highp float View_AtmosphericFogDensityScale;
- #define View_AtmosphericFogDensityOffset View_AtmosphericFogDensityOffsetvb0
- highp float View_AtmosphericFogDensityOffset;
- #define View_AtmosphericFogGroundOffset View_AtmosphericFogGroundOffsetvb0
- highp float View_AtmosphericFogGroundOffset;
- #define View_AtmosphericFogDistanceScale View_AtmosphericFogDistanceScalevb0
- highp float View_AtmosphericFogDistanceScale;
- #define View_AtmosphericFogAltitudeScale View_AtmosphericFogAltitudeScalevb0
- highp float View_AtmosphericFogAltitudeScale;
- #define View_AtmosphericFogHeightScaleRayleigh View_AtmosphericFogHeightScaleRayleighvb0
- highp float View_AtmosphericFogHeightScaleRayleigh;
- #define View_AtmosphericFogStartDistance View_AtmosphericFogStartDistancevb0
- highp float View_AtmosphericFogStartDistance;
- #define View_AtmosphericFogDistanceOffset View_AtmosphericFogDistanceOffsetvb0
- highp float View_AtmosphericFogDistanceOffset;
- #define View_AtmosphericFogSunDiscScale View_AtmosphericFogSunDiscScalevb0
- highp float View_AtmosphericFogSunDiscScale;
- #define View_AtmosphericFogRenderMask View_AtmosphericFogRenderMaskvb0
- highp uint View_AtmosphericFogRenderMask;
- #define View_AtmosphericFogInscatterAltitudeSampleNum View_AtmosphericFogInscatterAltitudeSampleNumvb0
- highp uint View_AtmosphericFogInscatterAltitudeSampleNum;
- #define View_AtmosphericFogSunColor View_AtmosphericFogSunColorvb0
- highp vec4 View_AtmosphericFogSunColor;
- #define View_NormalCurvatureToRoughnessScaleBias View_NormalCurvatureToRoughnessScaleBiasvb0
- highp vec3 View_NormalCurvatureToRoughnessScaleBias;
- #define View_RenderingReflectionCaptureMask View_RenderingReflectionCaptureMaskvb0
- highp float View_RenderingReflectionCaptureMask;
- #define View_AmbientCubemapTint View_AmbientCubemapTintvb0
- highp vec4 View_AmbientCubemapTint;
- #define View_AmbientCubemapIntensity View_AmbientCubemapIntensityvb0
- highp float View_AmbientCubemapIntensity;
- #define View_SkyLightParameters View_SkyLightParametersvb0
- highp float View_SkyLightParameters;
- #define PrePadding_View_2472 PrePadding_View_2472vb0
- highp float PrePadding_View_2472;
- #define PrePadding_View_2476 PrePadding_View_2476vb0
- highp float PrePadding_View_2476;
- #define View_SkyLightColor View_SkyLightColorvb0
- highp vec4 View_SkyLightColor;
- #define View_SkyIrradianceEnvironmentMap View_SkyIrradianceEnvironmentMapvb0
- highp vec4 View_SkyIrradianceEnvironmentMap[7];
- #define View_MobilePreviewMode View_MobilePreviewModevb0
- highp float View_MobilePreviewMode;
- #define View_HMDEyePaddingOffset View_HMDEyePaddingOffsetvb0
- highp float View_HMDEyePaddingOffset;
- #define View_ReflectionCubemapMaxMip View_ReflectionCubemapMaxMipvb0
- highp float View_ReflectionCubemapMaxMip;
- #define View_ShowDecalsMask View_ShowDecalsMaskvb0
- highp float View_ShowDecalsMask;
- #define View_DistanceFieldAOSpecularOcclusionMode View_DistanceFieldAOSpecularOcclusionModevb0
- highp uint View_DistanceFieldAOSpecularOcclusionMode;
- #define View_IndirectCapsuleSelfShadowingIntensity View_IndirectCapsuleSelfShadowingIntensityvb0
- highp float View_IndirectCapsuleSelfShadowingIntensity;
- #define PrePadding_View_2632 PrePadding_View_2632vb0
- highp float PrePadding_View_2632;
- #define PrePadding_View_2636 PrePadding_View_2636vb0
- highp float PrePadding_View_2636;
- #define View_ReflectionEnvironmentRoughnessMixingScaleBiasAndLargestWeight View_ReflectionEnvironmentRoughnessMixingScaleBiasAndLargestWeightvb0
- highp vec3 View_ReflectionEnvironmentRoughnessMixingScaleBiasAndLargestWeight;
- #define View_StereoPassIndex View_StereoPassIndexvb0
- highp int View_StereoPassIndex;
- #define View_GlobalVolumeCenterAndExtent View_GlobalVolumeCenterAndExtentvb0
- highp vec4 View_GlobalVolumeCenterAndExtent[4];
- #define View_GlobalVolumeWorldToUVAddAndMul View_GlobalVolumeWorldToUVAddAndMulvb0
- highp vec4 View_GlobalVolumeWorldToUVAddAndMul[4];
- #define View_GlobalVolumeDimension View_GlobalVolumeDimensionvb0
- highp float View_GlobalVolumeDimension;
- #define View_GlobalVolumeTexelSize View_GlobalVolumeTexelSizevb0
- highp float View_GlobalVolumeTexelSize;
- #define View_MaxGlobalDistance View_MaxGlobalDistancevb0
- highp float View_MaxGlobalDistance;
- #define View_bCheckerboardSubsurfaceProfileRendering View_bCheckerboardSubsurfaceProfileRenderingvb0
- highp float View_bCheckerboardSubsurfaceProfileRendering;
- #define View_VolumetricFogInvGridSize View_VolumetricFogInvGridSizevb0
- highp vec3 View_VolumetricFogInvGridSize;
- #define PrePadding_View_2812 PrePadding_View_2812vb0
- highp float PrePadding_View_2812;
- #define View_VolumetricFogGridZParams View_VolumetricFogGridZParamsvb0
- highp vec3 View_VolumetricFogGridZParams;
- #define PrePadding_View_2828 PrePadding_View_2828vb0
- highp float PrePadding_View_2828;
- #define View_VolumetricFogSVPosToVolumeUV View_VolumetricFogSVPosToVolumeUVvb0
- highp vec2 View_VolumetricFogSVPosToVolumeUV;
- #define View_VolumetricFogMaxDistance View_VolumetricFogMaxDistancevb0
- highp float View_VolumetricFogMaxDistance;
- #define PrePadding_View_2844 PrePadding_View_2844vb0
- highp float PrePadding_View_2844;
- #define View_VolumetricLightmapWorldToUVScale View_VolumetricLightmapWorldToUVScalevb0
- highp vec3 View_VolumetricLightmapWorldToUVScale;
- #define PrePadding_View_2860 PrePadding_View_2860vb0
- highp float PrePadding_View_2860;
- #define View_VolumetricLightmapWorldToUVAdd View_VolumetricLightmapWorldToUVAddvb0
- highp vec3 View_VolumetricLightmapWorldToUVAdd;
- #define PrePadding_View_2876 PrePadding_View_2876vb0
- highp float PrePadding_View_2876;
- #define View_VolumetricLightmapIndirectionTextureSize View_VolumetricLightmapIndirectionTextureSizevb0
- highp vec3 View_VolumetricLightmapIndirectionTextureSize;
- #define View_VolumetricLightmapBrickSize View_VolumetricLightmapBrickSizevb0
- highp float View_VolumetricLightmapBrickSize;
- #define View_VolumetricLightmapBrickTexelSize View_VolumetricLightmapBrickTexelSizevb0
- highp vec3 View_VolumetricLightmapBrickTexelSize;
- #define View_StereoIPD View_StereoIPDvb0
- highp float View_StereoIPD;
- };
- layout(std140) uniform vb1
- {
- #define Primitive_LocalToWorld Primitive_LocalToWorldvb1
- highp mat4 Primitive_LocalToWorld;
- #define Primitive_WorldToLocal Primitive_WorldToLocalvb1
- highp mat4 Primitive_WorldToLocal;
- #define Primitive_ObjectWorldPositionAndRadius Primitive_ObjectWorldPositionAndRadiusvb1
- highp vec4 Primitive_ObjectWorldPositionAndRadius;
- #define Primitive_ObjectBounds Primitive_ObjectBoundsvb1
- highp vec3 Primitive_ObjectBounds;
- #define Primitive_LocalToWorldDeterminantSign Primitive_LocalToWorldDeterminantSignvb1
- highp float Primitive_LocalToWorldDeterminantSign;
- #define Primitive_ActorWorldPosition Primitive_ActorWorldPositionvb1
- highp vec3 Primitive_ActorWorldPosition;
- #define Primitive_DecalReceiverMask Primitive_DecalReceiverMaskvb1
- highp float Primitive_DecalReceiverMask;
- #define Primitive_PerObjectGBufferData Primitive_PerObjectGBufferDatavb1
- highp float Primitive_PerObjectGBufferData;
- #define Primitive_UseSingleSampleShadowFromStationaryLights Primitive_UseSingleSampleShadowFromStationaryLightsvb1
- highp float Primitive_UseSingleSampleShadowFromStationaryLights;
- #define Primitive_UseVolumetricLightmapShadowFromStationaryLights Primitive_UseVolumetricLightmapShadowFromStationaryLightsvb1
- highp float Primitive_UseVolumetricLightmapShadowFromStationaryLights;
- #define Primitive_UseEditorDepthTest Primitive_UseEditorDepthTestvb1
- highp float Primitive_UseEditorDepthTest;
- #define Primitive_ObjectOrientation Primitive_ObjectOrientationvb1
- highp vec4 Primitive_ObjectOrientation;
- #define Primitive_NonUniformScale Primitive_NonUniformScalevb1
- highp vec4 Primitive_NonUniformScale;
- #define Primitive_InvNonUniformScale Primitive_InvNonUniformScalevb1
- highp vec4 Primitive_InvNonUniformScale;
- #define Primitive_LocalObjectBoundsMin Primitive_LocalObjectBoundsMinvb1
- highp vec3 Primitive_LocalObjectBoundsMin;
- #define PrePadding_Primitive_252 PrePadding_Primitive_252vb1
- highp float PrePadding_Primitive_252;
- #define Primitive_LocalObjectBoundsMax Primitive_LocalObjectBoundsMaxvb1
- highp vec3 Primitive_LocalObjectBoundsMax;
- #define Primitive_LightingChannelMask Primitive_LightingChannelMaskvb1
- highp uint Primitive_LightingChannelMask;
- #define Primitive_LpvBiasMultiplier Primitive_LpvBiasMultipliervb1
- highp float Primitive_LpvBiasMultiplier;
- };
- layout(std140) uniform vb2
- {
- #define PrecomputedLightingBuffer_IndirectLightingCachePrimitiveAdd PrecomputedLightingBuffer_IndirectLightingCachePrimitiveAddvb2
- highp vec3 PrecomputedLightingBuffer_IndirectLightingCachePrimitiveAdd;
- #define PrePadding_PrecomputedLightingBuffer_12 PrePadding_PrecomputedLightingBuffer_12vb2
- highp float PrePadding_PrecomputedLightingBuffer_12;
- #define PrecomputedLightingBuffer_IndirectLightingCachePrimitiveScale PrecomputedLightingBuffer_IndirectLightingCachePrimitiveScalevb2
- highp vec3 PrecomputedLightingBuffer_IndirectLightingCachePrimitiveScale;
- #define PrePadding_PrecomputedLightingBuffer_28 PrePadding_PrecomputedLightingBuffer_28vb2
- highp float PrePadding_PrecomputedLightingBuffer_28;
- #define PrecomputedLightingBuffer_IndirectLightingCacheMinUV PrecomputedLightingBuffer_IndirectLightingCacheMinUVvb2
- highp vec3 PrecomputedLightingBuffer_IndirectLightingCacheMinUV;
- #define PrePadding_PrecomputedLightingBuffer_44 PrePadding_PrecomputedLightingBuffer_44vb2
- highp float PrePadding_PrecomputedLightingBuffer_44;
- #define PrecomputedLightingBuffer_IndirectLightingCacheMaxUV PrecomputedLightingBuffer_IndirectLightingCacheMaxUVvb2
- highp vec3 PrecomputedLightingBuffer_IndirectLightingCacheMaxUV;
- #define PrePadding_PrecomputedLightingBuffer_60 PrePadding_PrecomputedLightingBuffer_60vb2
- highp float PrePadding_PrecomputedLightingBuffer_60;
- #define PrecomputedLightingBuffer_PointSkyBentNormal PrecomputedLightingBuffer_PointSkyBentNormalvb2
- highp vec4 PrecomputedLightingBuffer_PointSkyBentNormal;
- #define PrecomputedLightingBuffer_DirectionalLightShadowing PrecomputedLightingBuffer_DirectionalLightShadowingvb2
- highp float PrecomputedLightingBuffer_DirectionalLightShadowing;
- #define PrePadding_PrecomputedLightingBuffer_84 PrePadding_PrecomputedLightingBuffer_84vb2
- highp float PrePadding_PrecomputedLightingBuffer_84;
- #define PrePadding_PrecomputedLightingBuffer_88 PrePadding_PrecomputedLightingBuffer_88vb2
- highp float PrePadding_PrecomputedLightingBuffer_88;
- #define PrePadding_PrecomputedLightingBuffer_92 PrePadding_PrecomputedLightingBuffer_92vb2
- highp float PrePadding_PrecomputedLightingBuffer_92;
- #define PrecomputedLightingBuffer_StaticShadowMapMasks PrecomputedLightingBuffer_StaticShadowMapMasksvb2
- highp vec4 PrecomputedLightingBuffer_StaticShadowMapMasks;
- #define PrecomputedLightingBuffer_InvUniformPenumbraSizes PrecomputedLightingBuffer_InvUniformPenumbraSizesvb2
- highp vec4 PrecomputedLightingBuffer_InvUniformPenumbraSizes;
- #define PrecomputedLightingBuffer_IndirectLightingSHCoefficients0 PrecomputedLightingBuffer_IndirectLightingSHCoefficients0vb2
- highp vec4 PrecomputedLightingBuffer_IndirectLightingSHCoefficients0[3];
- #define PrecomputedLightingBuffer_IndirectLightingSHCoefficients1 PrecomputedLightingBuffer_IndirectLightingSHCoefficients1vb2
- highp vec4 PrecomputedLightingBuffer_IndirectLightingSHCoefficients1[3];
- #define PrecomputedLightingBuffer_IndirectLightingSHCoefficients2 PrecomputedLightingBuffer_IndirectLightingSHCoefficients2vb2
- highp vec4 PrecomputedLightingBuffer_IndirectLightingSHCoefficients2;
- #define PrecomputedLightingBuffer_IndirectLightingSHSingleCoefficient PrecomputedLightingBuffer_IndirectLightingSHSingleCoefficientvb2
- highp vec4 PrecomputedLightingBuffer_IndirectLightingSHSingleCoefficient;
- #define PrecomputedLightingBuffer_LightMapCoordinateScaleBias PrecomputedLightingBuffer_LightMapCoordinateScaleBiasvb2
- highp vec4 PrecomputedLightingBuffer_LightMapCoordinateScaleBias;
- #define PrecomputedLightingBuffer_ShadowMapCoordinateScaleBias PrecomputedLightingBuffer_ShadowMapCoordinateScaleBiasvb2
- highp vec4 PrecomputedLightingBuffer_ShadowMapCoordinateScaleBias;
- #define PrecomputedLightingBuffer_LightMapScale PrecomputedLightingBuffer_LightMapScalevb2
- highp vec4 PrecomputedLightingBuffer_LightMapScale[2];
- #define PrecomputedLightingBuffer_LightMapAdd PrecomputedLightingBuffer_LightMapAddvb2
- highp vec4 PrecomputedLightingBuffer_LightMapAdd[2];
- };
- void compiler_internal_AdjustInputSemantic(inout vec4 TempVariable)
- {
- #if HLSLCC_DX11ClipSpace
- TempVariable.y = -TempVariable.y;
- TempVariable.z = ( TempVariable.z + TempVariable.w ) / 2.0;
- #endif
- }
- void compiler_internal_AdjustOutputSemantic(inout vec4 Src)
- {
- #if HLSLCC_DX11ClipSpace
- Src.y = -Src.y;
- Src.z = ( 2.0 * Src.z ) - Src.w;
- #endif
- }
- bool compiler_internal_AdjustIsFrontFacing(bool isFrontFacing)
- {
- #if HLSLCC_DX11ClipSpace
- return !isFrontFacing;
- #else
- return isFrontFacing;
- #endif
- }
- INTERFACE_LOCATION(0) in highp vec4 in_ATTRIBUTE0;
- INTERFACE_LOCATION(1) in vec3 in_ATTRIBUTE1;
- INTERFACE_LOCATION(2) in vec4 in_ATTRIBUTE2;
- INTERFACE_LOCATION(3) in vec4 in_ATTRIBUTE3;
- INTERFACE_LOCATION(4) in highp vec2 in_ATTRIBUTE4;
- INTERFACE_LOCATION(15) in highp vec2 in_ATTRIBUTE15;
- INTERFACE_LOCATION(0) out highp vec4 var_TEXCOORD10;
- INTERFACE_LOCATION(1) out highp vec4 var_TEXCOORD11;
- INTERFACE_LOCATION(2) out vec4 var_COLOR0;
- INTERFACE_LOCATION(3) out highp vec4 var_TEXCOORD0;
- INTERFACE_LOCATION(4) out highp vec4 var_TEXCOORD1;
- INTERFACE_LOCATION(5) out highp vec4 var_TEXCOORD4;
- INTERFACE_LOCATION(6) out highp vec4 var_TEXCOORD8;
- void main()
- {
- highp vec4 v0;
- highp vec4 v1;
- highp vec4 v2;
- vec3 v3;
- v3.xyz = (cross((cross(in_ATTRIBUTE2.xyz,in_ATTRIBUTE1)*in_ATTRIBUTE2.www),in_ATTRIBUTE2.xyz)*in_ATTRIBUTE2.www);
- mat3 m4;
- highp mat3 m5;
- m5[0].xyz = Primitive_LocalToWorld[0].xyz;
- m5[1].xyz = Primitive_LocalToWorld[1].xyz;
- m5[2].xyz = Primitive_LocalToWorld[2].xyz;
- mat3 m6;
- mat3 m7;
- m7 = m5;
- m6 = m7;
- m4 = m6;
- m4[0].xyz = (m6[0]*Primitive_InvNonUniformScale.xxx);
- m4[1].xyz = (m4[1]*Primitive_InvNonUniformScale.yyy);
- m4[2].xyz = (m4[2]*Primitive_InvNonUniformScale.zzz);
- highp vec4 v8;
- v8.w = 1.000000e+00;
- v8.xyz = ((((Primitive_LocalToWorld[0].xyz*in_ATTRIBUTE0.xxx)+(Primitive_LocalToWorld[1].xyz*in_ATTRIBUTE0.yyy))+(Primitive_LocalToWorld[2].xyz*in_ATTRIBUTE0.zzz))+(Primitive_LocalToWorld[3].xyz+View_PreViewTranslation));
- v2.xyzw = v8;
- highp vec2 t9[1];
- t9[0].xy = vec2(0.000000e+00,0.000000e+00);
- t9[(1+(-1))].xy = in_ATTRIBUTE4;
- highp vec3 v10;
- v10.xyz = vec3(0.000000e+00,0.000000e+00,0.000000e+00);
- v2.xyz = (v8.xyz+v10);
- highp vec4 v11;
- v11.xyzw = (View_TranslatedWorldToClip[3]+((View_TranslatedWorldToClip[2]*v2.zzzz)+((View_TranslatedWorldToClip[1]*v2.yyyy)+(View_TranslatedWorldToClip[0]*v2.xxxx))));
- v1.xyzw = v2;
- highp float f12;
- f12 = (View_GameTime*6.000000e-01);
- highp vec3 v13;
- v13.xyz = ((v8.xyz+(-View_PreViewTranslation))/vec3(5.120000e+02,5.120000e+02,5.120000e+02));
- highp vec2 v14;
- v14.x = (f12*8.000000e-02);
- v14.y = (f12*8.000000e-02);
- highp vec2 v15;
- v15.x = (f12*-8.000000e-02);
- v15.y = (f12*-8.000000e-02);
- highp vec4 t16[2];
- t16[0].xyzw = vec4(0.000000e+00,0.000000e+00,0.000000e+00,0.000000e+00);
- t16[1].xyzw = vec4(0.000000e+00,0.000000e+00,0.000000e+00,0.000000e+00);
- t16[(0/2)].xy = t9[0];
- highp vec4 t17[2];
- t17[0].xyzw = t16[0];
- t17[1].xyzw = t16[1];
- t17[(1/2)].zw = (v14+v13.xy);
- highp vec4 t18[2];
- t18[0].xyzw = t17[0];
- t18[1].xyzw = t17[1];
- t18[(2/2)].xy = (v15+(v13.xy*vec2(6.900000e-01,6.900000e-01)));
- highp vec4 v19;
- v19.xyzw = vec4(0.000000e+00,0.000000e+00,0.000000e+00,0.000000e+00);
- v19.xy = ((in_ATTRIBUTE15*PrecomputedLightingBuffer_LightMapCoordinateScaleBias.xy)+PrecomputedLightingBuffer_LightMapCoordinateScaleBias.zw);
- v19.zw = vec2(0.000000e+00,0.000000e+00);
- highp vec4 v20;
- v20.w = 0.000000e+00;
- highp vec3 v21;
- v21.xyz = ((v3.zzz*m4[2])+((v3.yyy*m4[1])+(v3.xxx*m4[0])));
- v20.xyz = v21;
- highp vec4 v22;
- highp vec3 v23;
- v23.xyz = ((in_ATTRIBUTE2.zzz*m4[2])+((in_ATTRIBUTE2.yyy*m4[1])+(in_ATTRIBUTE2.xxx*m4[0])));
- v22.xyz = v23;
- highp float f24;
- f24 = in_ATTRIBUTE2.w;
- highp float f25;
- f25 = Primitive_LocalToWorldDeterminantSign;
- v22.w = (f24*f25);
- v1.w = v11.w;
- v0.xyzw = v11;
- var_TEXCOORD10.xyzw = v20;
- var_TEXCOORD11.xyzw = v22;
- var_COLOR0.xyzw = in_ATTRIBUTE3.zyxw;
- var_TEXCOORD0.xyzw = t18[0];
- var_TEXCOORD1.xyzw = t18[1];
- var_TEXCOORD4.xyzw = v19;
- var_TEXCOORD8.xyzw = v1;
- compiler_internal_AdjustOutputSemantic(v0);
- gl_Position.xyzw = v0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement