Skip to content

Commit

Permalink
Letting user read texture from vertex shader #6012
Browse files Browse the repository at this point in the history
  • Loading branch information
deltakosh committed Oct 1, 2019
1 parent c1f3ac8 commit 51aebd6
Show file tree
Hide file tree
Showing 22 changed files with 331 additions and 181 deletions.
4 changes: 4 additions & 0 deletions Playground/babylon.d.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52986,6 +52986,10 @@ declare module BABYLON {
readonly endpoints: NodeMaterialConnectionPoint[];
/** Gets a boolean indicating if that output point is connected to at least one input */
readonly hasEndpoints: boolean;
/** Gets a boolean indicating that this connection will be used in the vertex shader */
readonly isConnectedInVertexShader: boolean;
/** Gets a boolean indicating that this connection will be used in the fragment shader */
readonly isConnectedInFragmentShader: boolean;
/**
* Creates a new connection point
* @param name defines the connection point name
Expand Down
4 changes: 4 additions & 0 deletions dist/preview release/babylon.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53821,6 +53821,10 @@ declare module BABYLON {
readonly endpoints: NodeMaterialConnectionPoint[];
/** Gets a boolean indicating if that output point is connected to at least one input */
readonly hasEndpoints: boolean;
/** Gets a boolean indicating that this connection will be used in the vertex shader */
readonly isConnectedInVertexShader: boolean;
/** Gets a boolean indicating that this connection will be used in the fragment shader */
readonly isConnectedInFragmentShader: boolean;
/**
* Creates a new connection point
* @param name defines the connection point name
Expand Down
2 changes: 1 addition & 1 deletion dist/preview release/babylon.js

Large diffs are not rendered by default.

266 changes: 165 additions & 101 deletions dist/preview release/babylon.max.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/preview release/babylon.max.js.map

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions dist/preview release/babylon.module.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56379,6 +56379,10 @@ declare module "babylonjs/Materials/Node/nodeMaterialBlockConnectionPoint" {
readonly endpoints: NodeMaterialConnectionPoint[];
/** Gets a boolean indicating if that output point is connected to at least one input */
readonly hasEndpoints: boolean;
/** Gets a boolean indicating that this connection will be used in the vertex shader */
readonly isConnectedInVertexShader: boolean;
/** Gets a boolean indicating that this connection will be used in the fragment shader */
readonly isConnectedInFragmentShader: boolean;
/**
* Creates a new connection point
* @param name defines the connection point name
Expand Down Expand Up @@ -120647,6 +120651,10 @@ declare module BABYLON {
readonly endpoints: NodeMaterialConnectionPoint[];
/** Gets a boolean indicating if that output point is connected to at least one input */
readonly hasEndpoints: boolean;
/** Gets a boolean indicating that this connection will be used in the vertex shader */
readonly isConnectedInVertexShader: boolean;
/** Gets a boolean indicating that this connection will be used in the fragment shader */
readonly isConnectedInFragmentShader: boolean;
/**
* Creates a new connection point
* @param name defines the connection point name
Expand Down
4 changes: 4 additions & 0 deletions dist/preview release/documentation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53821,6 +53821,10 @@ declare module BABYLON {
readonly endpoints: NodeMaterialConnectionPoint[];
/** Gets a boolean indicating if that output point is connected to at least one input */
readonly hasEndpoints: boolean;
/** Gets a boolean indicating that this connection will be used in the vertex shader */
readonly isConnectedInVertexShader: boolean;
/** Gets a boolean indicating that this connection will be used in the fragment shader */
readonly isConnectedInFragmentShader: boolean;
/**
* Creates a new connection point
* @param name defines the connection point name
Expand Down
20 changes: 10 additions & 10 deletions dist/preview release/serializers/babylon.glTF2Serializer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/preview release/serializers/babylon.objSerializer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading

0 comments on commit 51aebd6

Please sign in to comment.