Logo
Explore Help
Register Sign In
griefith/test2
1
0
Fork 0
You've already forked test2
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
6a7fa2fc0fb2df7e996ccfd39ddf8045dbc96d4e
test2/intern/cycles/kernel/osl/shaders/node_set_normal.osl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
241 B
Plaintext
Raw Normal View History

License headers: use SPDX-FileCopyrightText for *.inl and *.osl files
2023-08-04 13:24:17 +10:00
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
Cycles OSL: light path, texture coordinate, bump and blended box mapping now up to date and working.
2012-10-20 15:09:36 +00:00
Cleanup: Fix build warnings from OSL shader compilation There were to copies of stdosl.h one from stock OSL and one in the cycles tree augmented with cycles specific closures. moved the cycles ones to stdcycles.h and copied the stock stdosl.h and accompanying headers from the OSL shader folder. for further details see D6812. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6812
2020-02-11 21:40:23 -07:00
#include "stdcycles.h"
Cycles OSL: light path, texture coordinate, bump and blended box mapping now up to date and working.
2012-10-20 15:09:36 +00:00
surface node_set_normal(normal Direction = N, output normal Normal = N)
{
N = Direction;
Normal = Direction;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1173ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API