diff options
| author | yum <yum.food.vr@gmail.com> | 2026-03-17 16:40:05 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-03-17 16:40:05 -0700 |
| commit | 29443dfbd4b3ecbe5d0cae654e9cb72555b17220 (patch) | |
| tree | 9748c74e97731b6285a329ad02e9e5cb735f0ab0 /pbr.cginc | |
| parent | 1784064c7a39a69203e8975167addf1915f940bd (diff) | |
Clean up marble code
Diffstat (limited to 'pbr.cginc')
| -rwxr-xr-x | pbr.cginc | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -132,19 +132,8 @@ void apply_marble(float3 world_pos, inout float3 albedo) { uvw += offset; -#if 1 float3 noise = domain_warp_procedural(uvw, _Marble_Strength, _Marble_Octaves, _Marble_Lacunarity, _Marble_Gain); -#elif 1 - float3 noise = hash31_fast(uvw*32); -#elif 0 - float3 noise = value_noise3(uvw); -#elif 0 - float3 noise = value_noise_3d_tex(_Marble_Noise, trilinear_repeat_s, uvw); -#else - float3 noise = domain_warp_3d_tex(_Marble_Noise, trilinear_repeat_s, uvw, - _Marble_Strength, _Marble_Octaves, _Marble_Lacunarity, _Marble_Gain); -#endif noise = _Marble_Post_Ramp.Sample(linear_clamp_s, float2(noise.x, 0)); |
