Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

OSL texture() "blur" argument

1 ANTWORT 1
Antworten
Nachricht 1 von 2
zenop
1310 Aufrufe, 1 Antwort

OSL texture() "blur" argument

Is the "blur" argument in a texture() call implemented for Arnold?

Tags (1)
Beschriftungen (1)
  • OSL
1 ANTWORT 1
Nachricht 2 von 2
madsd
als Antwort auf: zenop

You need to hook Auto Mip-mapping in render settings.
This makes it possible to parse a bias to the blur float value.

3836-qweqwe.png

shader TextureDOF
(
	point Po = P,
	float strength = 0.022,
	float Time = 0,
	string fileName = "",
output color Out = 0, ) { point p = Po; float focus = sin(Time)*.35+.5; float blur = strength*sqrt(abs(p[1] - focus));
Out = texture(fileName, p[0],1-p[1], "blur", blur); }

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report